Class (類別)


app8_1.java (CRentangle)

app8_2.java (Multi-Rentangle)

app8_3.java (function)

app8_4.java (Circle, pi, radius)

app8_5.java (Circle, pi, radius, pi modified)

app8_6.java (fuction 互相呼叫)

app8_7.java (fuction呼叫 + 傳遞參數 setRadius(double r ))

app8_8.java (fuction呼叫 + 傳遞多個參數 setCircle (double p, double r))

app8_9.java (fuction呼叫 + 回傳值doube getRadius ())

app8_10.java (fuction 多載 (overload) setColor(), SerRadius(),setAll())

app8_11.java (fuction 多載 (overload) setCircle())

app8_12.java (private 私有成員, public公有成員 )

app8_13.java (private 私有成員, public公有成員 )

app8_14.java (公有函數成員)

思考題:

測試題: