Engine
Customer
- address : Address
Ship
+ move() : void
Car
Node
- subNode : Node
Student
- studentNo : String
+ study() : void
包含
有
Head
- mouth : Mouth
+ Head() : void
<<interface>>Vehicle
Teacher
- teacherNo : String
+ teach() : void
Address
Mouth
Person
+ name : String+ age : int
+ move() : void+ say() : void
Driver
+ driver(Car car) : void
- engine : Engine
+ getEngine() : Engine- setEngine(Engine engine) : void