执一不失,能君万物http://weidian.com/s/284520723?wfr=c
发布时间:2015-07-16 21:17:10
将对象作为参数传递给方法<br />public Student(String name,int a,String m){<br /> stuName = name;<br /> age = a;<br /> major = m;<br />}<br />声明对象的时候<br />Student stu = new Student("Jerry",22,"Java");<br /><div><div class="co.........【阅读全文】
发布时间:2015-07-16 21:08:26
构造器的使用<br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code800')">此处</span>)折叠或打开</p></div><div id="code800" class="codeText"><ol style="margin:0 1px 0 0px;padding-left:40px;" start="1" class="dp-css"><li>.........【阅读全文】
发布时间:2015-07-16 20:49:37
<img src="/attachment/201507/16/30177269_14370174722jZ2.png" alt="" height="237" width="410" /><br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code11')">此处</span>)折叠或打开</p></div><div id="code11" class="codeText"><ol sty.........【阅读全文】
发布时间:2015-07-15 18:24:22
<br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code530')">此处</span>)折叠或打开</p></div><div id="code530" class="codeText"><ol style="margin:0 1px 0 0px;padding-left:40px;" start="1" class="dp-css"><li><span style=.........【阅读全文】
发布时间:2015-07-15 18:17:01
<span style="color:#000000;"><span style="color:#FF9900;">1.利用面向对象的编程方法,设计类Circle计算圆的面积</span></span><br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code663')">此处</span>)折叠或打开</p></div><div id="code663.........【阅读全文】