2007年12月21日 星期五

2007年12月14日 星期五

"Homework 12-7-2007"

1. Define a Complex class and write an object oriented program to compute (2+3i)+(4+5i) in Java.
2. Show comments on your blog.

2007年12月7日 星期五

2007年12月6日 星期四

2007年11月30日 星期五

Class Definition 3

4.7 4.8

Question : In Display 4.7, if the method setDate has the parameter as setDate(int month, int day, int year), what kind of changes should be made in its body of codes?

Homework 11/16/2007: lab class definition 2


1. Comment out date.setDate(6, 17, year); by // date.setDate(6, 17, year); 2. At the next line below, add date.readInput(); 3. Run the program again. Fix any problems you may encouter along the way.
4. At the last line of your program, add System.out.println(date.month);
"錯誤執行!!!" 因為privte是私密內容,將之改成public即可

2007年11月25日 星期日

2007年11月16日 星期五

2007年11月9日 星期五

2007年10月18日 星期四

2007年10月12日 星期五

"Lab Finding the max"


Lab: Tax Calculation


Test1

2.縮寫:節省資源 不縮寫:長的命名,應該有助於程式的撰寫.一樣方便處理不同資料庫裡的資料

10-5-2007 Homework



2007年10月5日 星期五

Lab: Keyborad Input


Lab: Scanner


Lab: Adding Links on Your Blog


1. Check into your blog homepage.
2. Enter "自訂"
3. Select "連結清單"
4. Write down "http://javaatcycu.blogspot.com/" and the title as "Java物件導向程式設計"
5. Also add your own favorite links.