黑马程序员技术交流社区
标题:
this 的用法
[打印本页]
作者:
安静的喝会奶
时间:
2016-6-17 15:06
标题:
this 的用法
class Student
{
private int age;
private String name;
public Student(String name)
{
this.name = name;
}
public Student(String name,int age)
{
this(name);
this.age = age;
}
作者:
Kingchen
时间:
2016-6-17 21:46
顶一个!
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/)
黑马程序员IT技术论坛 X3.2