摘要:
public class id {String a;public void setId(String id){if (id.length() == 18) {this.a = a;} else {throw new IllegalArgumentException("身份证号码长度应为18!");} 阅读全文
摘要:
package 实训作业3;import java.util.Scanner;public class Student { String name; String sex; int age; String ID; int score[] = new int [5]; public void qw() 阅读全文
摘要:
package 编程题; import java.util.Scanner; public class Exam3 { public Exam3() { // TODO Auto-generated constructor stub } public static void main(String[ 阅读全文