✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
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.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!