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 {}
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 {}