摘要:
构建器是初始化类的一种方法,要求是与类名称一致。 eg: 1 class Example{ 2 Example(int i){ 3 System.out.println(i); 4 } 5 } 6 public class mail{ 7 public static void main(String 阅读全文
posted @ 2016-09-28 15:24
cramile
阅读(143)
评论(0)
推荐(0)

浙公网安备 33010602011771号