Try the same model with your own values. No checks, nothing recorded.
Back to Composition over inheritance
A vehicle that holds an engine and asks it for its cost and its sound. Write a third engine, give a car a different one halfway through, or build something of your own from parts: a phone that holds a battery, a notifier that holds channels. Reset brings the starter back.
Python runs here. Java is shown for reading; paste it into a Java tool on your computer to run it.