skip to main
|
skip to sidebar
JAVA程式設計學習
2009年5月11日 星期一
Lab 23 : Static Method
Define a Complex class with a static method for computing complex addition। Use (2+3i)+(4+5i) in your test.
Lab 22 : Math methods
Compute the following mathematical functions.
Math.round(3.2)
Math.round(3.6)
Math.floor(3.2)
Math.floor(3.6)
Math.ceil(3.2)
Math.ceil(3.6)
Lab 21 : Finding the max of three numbers
Write a static method that computes the maximum of three float numbers।
2009年5月10日 星期日
Homework 10
Do Project 7 of Chapter 4।
main Class:
Temperature Class:
2009年5月4日 星期一
Lab 20 : Java Constructor
Write constructors in the
lab Fraction Addition
।
main Class:
Fraction Class:
Lab 19 : Method Overloading
依據
Class definition 3
,修改程式使其接受三種setDatedate1।setDate(1,2,2008);date2.setDate("February",2, 2008);date3.setDate(2008);
main Class:
EqualsAndToString Class:
2009年5月3日 星期日
Homework 9
Do project 2 of Chapter 4.
強烈要求同學一定要親自動手做,鼓勵同學將理論與實作密切配合。
相信只要同學真正的努力用功,縱使資質稍差,應該都可以學到Java程式設計之知識
main Class:
Fraction Class:
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)
我的網誌清單
●色々な世界○
なりたい
17 年前
張耀仁教授
21不是盡頭 柳暗花明又一村
17 年前
インターネット システム デザイン
Lab 45 : Packet Sniffer
17 年前
標籤
其他
(2)
Homework
(10)
Lab
(31)
網誌存檔
▼
2009
(43)
▼
6月
(5)
Lab 29 : Hanoi Tower
Lab 28 : Factorial
Lab 27 : Recursive method
Lab 26 : Modular Sorting
Lab 25 : Array
►
5月
(9)
►
4月
(5)
►
3月
(19)
►
2月
(5)
最新回應
載入中…
關於我自己
武
中原大學電子工程系大四生
檢視我的完整簡介