摘要:
在静态方法中,先生成一个对象,用对象.成员访问实例成员 static class Employee { String name; long salary; short employee_id; static int total_employees; static void clear(){ Empl 阅读全文
摘要:
class MyTestClass { public int Value; public boolean equals(MyTestClass obj){ return obj.Value ==this.Value; } public MyTestClass(int initValue){ Valu 阅读全文