- 博客(2)
- 资源 (9)
- 收藏
- 关注
原创 OBJECT类
java.lang.Object Class Object is the root of the class hierarchy. Every class has Object as a superclass. All objects, including arrays, implement the methods of this class. Object这个类是所有类的根基类(老
2017-10-19 11:36:18 178
原创 JAVASE:this关键字
1 public class Student { 2 String name; 3 int id; 4 //无参构造方法 5 public Student(){ 6 System.out.println("我是无参构造方法"); 7 } 8 9 //有参的构造方法 可以调无参的构造方法 必须在第一行 10
2017-10-18 17:36:18 191
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人