摘要:
递归方法 class Student{ private String name; privateintage; private String school; private String major; public Student(String n, inta) { name = n; age = 阅读全文
摘要:
class Student{ public int number; public int state; public int score; public String info() { return number+"\t"+state+"\t"+score; } } public class Hel 阅读全文
摘要:
今天学了对象的定义和使用。 今天遇到了一个问题还没有解决, 还有一个问题没有解决, Exception in thread "main" java.lang.NullPointerException: Cannot assign field "score" because "stu[i]" is n 阅读全文