Create an Animal class with by default 0 speed and use two methods for run and stop then create another class Rabbit that inherit the animal with function name hide.
class Animal {
constructor(name) {
this.speed = 0;
this.name =...
READ MORE >>
Recent Comments