How to insert NumberFormatException in the input part and display “Input error” if the user did not enter a number

前端 未结 0 2024
鱼传尺愫
鱼传尺愫 2020-11-27 18:48

import java.util.Scanner; public class numberformat {

public void pw(int n, String ch) {
    
    String one[] = { " ", " One", " Two         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题