Code QuizIntermediate

Inheriting With the Wrong Keyword

Identifying the correct keyword used to derive one class from another.

Codetypescript
class Animal {
  move() {
    return "moving";
  }
}

class Dog implements Animal {
  bark() {
    return "woof";
  }
}

const d = new Dog();
console.log(d.move());

What is the bug in this code?