JavaScript Beginners Tutorial 22 | OOP | Inheritance with example

preview_player
Показать описание
Process where one class acquires properties
(methods and fields) from another class
Parent - child
Super - sub
Base - derived

------------ UI TESTING ------------

------------ API TESTING ------------

------------ MOBILE TESTING ------------

------------ CI | CD | DEVOPS ------------

------------ VERSION CONTROL SYSTEM ------------

------------ PERFORMANCE TESTING ------------

------------ PROGRAMMING ------------

------------ IDE ------------

------------ MAVEN ------------

------------ OTHERS ------------

Keep Learning,
Raghav

You can support my mission for education by sharing this knowledge and helping as many people as you can.
Рекомендации по теме
Комментарии
Автор

finally a perfect explanation on youtude, please make some explanation of DSA part. or either make a paid course . i will be happy to buy ..

RajaKumar-qhkk
Автор

Very very good explanation
Nahito kafi log bhot bkvas krke complicated chijo ko our complicate krte hai
Thanks for teaching

_Osho-Official_
Автор

Best i was just wondering on youtube for explantion of four pillars of OOPs and i found your video the best among explanation you

gautamjangir
Автор

Great explaination ..good work sir I m happy after seen vdo

Ganeshay-
Автор

Sir plz make a video for fetching the date field from a date picker using java script and it will be also helpful for selenium....

manojrout
Автор

Hi. Thanks for the lesson! Where I can find the run button as you have? Please explain.

romanmotovilov
Автор

Thankyou for ur videos...very easy to understand as compare to other videos but I'm little confuse like where to create method, object and where to use brackets like to learn this code but how can I create different program by my own?

sonalishivgotra
Автор

5:54 -> let myCar = new Toyota();
=> what does mean of the 'new' keywords? Is it like a object in function and it's veil on the mystery in my eyes. Could you let me know some a bit or reference where is there on MDN?

where
Автор

in class toyota why the speed is not defined by this.speed

RajaKumar-qhkk
Автор

Hi sir, what are RPA and Machine Learning? Are these two completely different technology? Does a Devops guy need to learn these technologies to enhance his career, I mean any relation of these technologies with DevOps? Do you provide any course on any of these? Please reply.

soumendunandy
Автор

Thanks for the tutorial! i am currently trying to build a chess engine and i couldn't get the syntax right 💀

jonathanwaycrest
Автор

class Car{ //class

setName(name){ //method
this.name = name; //set name value to clasee variable
}

startEngine(){
console.log ('Engine started for '+this.name);
}

stoptEngine(){
console.log ('Engine stopped for '+this.name);
}


}

class Toyota extends Car{ // Car is Parent class Toyota is child class of Car.
//so all functions & methos we can call inherince from Parent class.
//Using extends key word//
topSpeed(speed){
console.log ('Top speed for '+this.name+' is '+speed) //this.name from parent class inside function
//+speed from current class function.//

}


}

let myCar = new Toyota(); ///IMP..Object for Toyota class
//Note we can acces propries & methods of Parent class(Car) of Toyota class...
myCar.setName('Camry');
myCar.startEngine();
myCar.stoptEngine();
myCar.topSpeed(200);

pegaproject
Автор

is it preferrable to console.log('some words about'+this.thing) over console.log(`some words about ${this.thing}`) ?

josephlang
join shbcf.ru