Java程式設計 - Course 2
- Class Structure
- Constructor
- Method
- Member
- Controlling Access to members
- Public
- Private
- Overloaded
- Inheritance
- Superclass
- Subclass
- Protected
- override
- Polymorphism
課本範例:
- CH8 : Classes and Objects: A Deeper Look
- CH9 : Object-Oriented Programming: Inheritance
- CH10 : Object-Oriented Programming: Polymorphism
Homework :
- 建立一個Class 取名 Car ,當中包含
- 五種屬性 ( attribute or member )
- 設定與取出這五種屬性的方法
- 製作數個Car class 的constructor
- 建立一個Main program, 可以操作 Car class