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...
Sur cette page du site, vous pouvez voir la vidéo en ligne JavaScript/Node.js Programming Basics 23: Inheritance in JavaScript (v3) durée online en bonne qualité , qui a été Téléchargé par l'utilisateur Kari Laitinen 25 octobre 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 152 fois et il a aimé 2 téléspectateurs. Bon visionnage!