Question: Create a robot class with attributes name, color, weight. The class has a method: greet. Create two instances of the class robotl (name Tom, colour

Create a robot class with attributes name, color, weight. The class has a method: greet. Create two instances of the class robotl (name Tom, colour red and weight 30 ) and robot 2 (name Jerry, color blue and weight 40 )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
