摘要: package fivetwo; public class Employee{ private String str; private int x; /* * equal的原则: * 自反性:对于任何非空的 x.equals(x)返回true * 对称性:对于任何x,y x.equals(y)的结果与y.equals(x)相等... 阅读全文
posted @ 2018-01-02 13:15 aLa神灯 阅读(105) 评论(0) 推荐(0) 编辑
摘要: package fivetwo; public class Employee{ private String str; private int x; private final int y; private final String str2; public Employee(){ this.y = 3; ... 阅读全文
posted @ 2018-01-02 11:18 aLa神灯 阅读(103) 评论(0) 推荐(0) 编辑
摘要: byte,char,short,int,long,float,double,boole 阅读全文
posted @ 2018-01-02 10:30 aLa神灯 阅读(176) 评论(0) 推荐(0) 编辑
摘要: package valuetest1; public abstract class Person { public abstract String method1(); public String method2(){ return ""; } } package valuetest1; publi 阅读全文
posted @ 2018-01-02 10:22 aLa神灯 阅读(103) 评论(0) 推荐(0) 编辑