- Create a vehicle that encapsulates engine, wheels and gas-tank. All internal items should interact with each other.
- Internal mechanism should be hidden from client. All he needs is accelerate(), brake(), turn() these method should be part of Driveable interface.
- Create a Boat that extends Vehicle.
- Create a Car that extends Vehicle.
- Create a Solar Car that extends Car.