Challenge for Classes


The class Robot below is very similar to the Human class above. Follow these steps on the bottom of the code:

  1. Create a Robot named "Jim"
  2. Call the instance method say on your robot and pass it the String "Greetings"
  3. Call the class method get_species on your robot.
  4. Call Robot's static method beep.

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]