上一页 1 ··· 8 9 10 11 12 13 下一页

2016年10月26日

摘要: 《大道至简》第三章讲的是“团队缺乏的不只是管理”,主要讲了公司中项目组中员工的协作问题,和团体意识问题,本章给我最大的启发就是团队在工程中起着至关重要的作用,一个人的力量终究有限,一个项目也不是一个人能所完成的,像王江民那样一个人便完成一个项目的时代也经过去了。所以做一个项目,需要团队合作,只有分工 阅读全文
posted @ 2016-10-26 19:44 杨寒 阅读(208) 评论(0) 推荐(0) 编辑
 
摘要: 课后作业 1-1程序代码: 1-2输出结果: 1-3总结:new对象时,新开辟一个地址,所以两个new对象并不相等。 2-1源代码: 2-2输出结果: 2-3总结:用String.equals()方法 可以实现不同对象之间(除去地址的差异)的比较。 3-1 String类 (1) Length(): 阅读全文
posted @ 2016-10-26 19:42 杨寒 阅读(163) 评论(0) 推荐(0) 编辑
 

2016年10月21日

摘要: 1 package jxlPacakge; 2 3 public class Object_num { 4 public static void main(String[] args) { 5 // TODO Auto-generated method stub 6 Roo obj1=new Roo(); 7 Roo ... 阅读全文
posted @ 2016-10-21 11:47 杨寒 阅读(217) 评论(0) 推荐(0) 编辑
 
摘要: 在静态方法中,先生成一个对象,用对象.成员访问实例成员 static class Employee { String name; long salary; short employee_id; static int total_employees; static void clear(){ Empl 阅读全文
posted @ 2016-10-21 11:18 杨寒 阅读(609) 评论(0) 推荐(0) 编辑
 
摘要: package jxlPacakge; class Root{ static{ System.out.println("Root的静态初始化块"); } { System.out.println("Root的普通初始化块"); } public Root() { System.out.println 阅读全文
posted @ 2016-10-21 11:02 杨寒 阅读(162) 评论(0) 推荐(0) 编辑
 
摘要: 1-1程序代码: package jxlPacakge;public class ObjectEquals { public static void main(String[] args) { MyTestClass obj1=new MyTestClass(100); MyTestClass ob 阅读全文
posted @ 2016-10-21 10:46 杨寒 阅读(127) 评论(0) 推荐(0) 编辑
 
摘要: class MyTestClass { public int Value; public boolean equals(MyTestClass obj){ return obj.Value ==this.Value; } public MyTestClass(int initValue){ Valu 阅读全文
posted @ 2016-10-21 10:25 杨寒 阅读(234) 评论(0) 推荐(0) 编辑
 

2016年10月16日

摘要: //汉诺塔问题//HanYang 2016/10/15 import java.util.Scanner; //输出public class Hanuota { public static void Show(String a,String b){ System.out.print(" " + a 阅读全文
posted @ 2016-10-16 11:44 杨寒 阅读(944) 评论(0) 推荐(0) 编辑
 
摘要: import java.util.Scanner; public class Zuheshu { //计算m阶乘 public static int Fun(int m){ int sum=0; if( m < 0 ) System.out.println("input error,please i 阅读全文
posted @ 2016-10-16 11:42 杨寒 阅读(1190) 评论(0) 推荐(0) 编辑
 
摘要: import java.util.Random;import java.util.Scanner; public class TestSeed{ public static void main(String[] args) { Random r = new Random(System.current 阅读全文
posted @ 2016-10-16 11:19 杨寒 阅读(245) 评论(0) 推荐(0) 编辑
 
上一页 1 ··· 8 9 10 11 12 13 下一页