public telephone()为什么写成void telephone()不行
public telephone()为什么写成void telephone()不行
public class Telephone {
//void telephone(){}
public Telephone(){
System.out.println("无参构造方法");}
}
public telephone()为什么写成void telephone()不行
public class Telephone {
//void telephone(){}
public Telephone(){
System.out.println("无参构造方法");}
}
2016-03-09
举报