Challenge for Classes
Challenge
The class Robot below is very similar to the Human class above. Follow these steps on the bottom of the code:
- Create a Robot named "Jim"
- Call the instance method
say
on your robot and pass it the String "Greetings" - Call the class method
get_species
on your robot. - Call Robot's static method
beep
.
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.