✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Specifies an Animal class that defines a constructor for the kind and weight parameters.
class Animal {
constructor(kind, weight) {
this.kind = kind;
this.weight = weight;
}
}
Implement the Tiger class that inherits from the
Animal class and overrides the constructor with the parameters kind, weight,
speed.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!