摘要: 阅读全文
posted @ 2015-10-17 22:41 Jasoon 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 一.构造方法1.源代码publicclassTest{publicstaticvoidmain(String[]args){Fooobj1=newFoo();}}classFoo{intvalue;publicFoo(intinitValue){value=initValue;}}2.程序截图3.结... 阅读全文
posted @ 2015-10-17 22:39 Jasoon 阅读(171) 评论(0) 推荐(0) 编辑