Edit Sum2002 Midterm Review: Simulate a Motorcycle here.
key would have as instance variable a "code".
engine would have as instance variable "wheels" and "keycode" so they know which key turns them on.
wheels can eat dirt.
Why not have a key instance variable for the engine, rather than a keycode? Barbara Ericson
Methods:
key would have insert, remove
engine to puttputt, start, turnoff
wheels would have spin and effectByFriction.
These don't match the given names in the requirements Barbara Ericson