摘要:
package Exception; public class Demo04 { private int age; public int getAge() { return age; } public void setAge(int age) throws AgeException{ if(age>=1&&... 阅读全文
摘要:
package Exception; import java.util.InputMismatchException; import java.util.Scanner; public class Demo03 { static Scanner sc = new Scanner(System.in); public static void main(String[... 阅读全文