class Cat extends Animal{ constructor(name){ super(name); } say() { return `Hello, ${this.name}!` } }
Sign in to make a reply
XNOKIA