摘要: public class CoutObject { public static void main(String[] args) { CoutObject t1=new CoutObject(); CoutObject t2=new CoutObject(); System.out.println( 阅读全文
posted @ 2018-10-21 17:38 故事-已开始。 阅读(252) 评论(0) 推荐(0)
摘要: 如果类提供了一个自定义的构造方法,系统不再提供默认的构造方法。 2.public static void main(String[] args) { InitializeBlockClass obj=new InitializeBlockClass(); System.out.println(obj 阅读全文
posted @ 2018-10-21 17:32 故事-已开始。 阅读(122) 评论(0) 推荐(0)