I would like to know what Man and Child have in common and how they differ.

class Person {
  name: string;
  age: number;
}
class Child extends Person {}
class Man implements Person {}

6 Answers
6

Leave a Reply

Your email address will not be published. Required fields are marked *