Challenge for Classes

Challenge

Below is a Car class. Create a new "green" car below it, and accelerate its speed by 10, 20 and 40 units (with the Car's accelerate function).

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]