Computer Science, asked by purshidj, 2 months ago

Cars can be started, driven, reversed or stopped. You have to start the car to drive/reverse/stop it. When car is being driven / reversed, the fuel reduces. Once the car has no fuel, the car stops. Every car has a name. Write a tester class to test cars. How to know whether the car has started and then only being asked to be driven? Try to design on paper first and then see the below design. Understand how state can impact behaviour.!

Answers

Answered by Anonymous
0

Answer:

Oxygen gas in the atmosphere is essential for respiration.

Similar questions