This educational video shows how a JavaScript class can be created so that another class is inherited. First, the operation of a simple class named Animal is explained. Then, a new class named SingingAnimal is created by extending the Animal class.
Terminology related to object-oriented programming is explained in this video. You will learn what is a superclass and a subclass, and what method overriding means.
The example program Animals.js can be found via the page
http://www.naturalprogramming.com/jav...
На этой странице сайта вы можете посмотреть видео онлайн JavaScript/Node.js Programming Basics 23: Inheritance in JavaScript (v3) длительностью online в хорошем качестве, которое загрузил пользователь Kari Laitinen 25 Октябрь 2018, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 152 раз и оно понравилось 2 зрителям. Приятного просмотра!