📅  最后修改于: 2022-03-11 15:02:56.148000             🧑  作者: Mango
The extends keyword is used to create a child class of another class (parent).
The child class inherits all the methods from another class. Inheritance is
useful for code reusability: reuse properties and methods of an existing class
when you create a new class.