- AC1: A car can show message with name and speed when speedup like: Cool Car: speed up 30 km/h
- AC2: A truck can show message with name and speed when speedup like: Big Truck: speed up 10 km/h
- AC3: A driver can drive multiple types of vehicles, and can show message with the name and speed when speedup
- 1.when drive a car the message is: Cool Car: speed up 30 km/h
- 2.when drive a truck the message is: Big Truck: speed up 10 km/h
- AC4: The speed of the car depends on the engine, with gasoline engine the speed is 30 km/h, and with an electric engine the speed is 25 km/h.
tokaho / practice-oo-101 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from afs-public-202211/practice-oo-101