follow me on:
Facebook: / pawans.nair.7
Instagram: / pawan_s_nair
Twitter: / pawannair
Linked in: / pawan-nai. .
In this video, we will discuss object-oriented programming concepts
Basically, object-oriented programming has 5 major concepts:
1.Class and Object
2.Inheritance
3.Encapsulation
4.Polymorphism
5.Abstraction
Class and Object in object-oriented programming :
Class is a blueprint and whereas an object is a real-world entity
any number of objects can be created from a class and all the object will have complete access of the data and methods of a class
Inheritance in object-oriented programming :
Inheritance is a mechanism through which one object acquires all the properties and behaviors of the parent objects.
To avoid code redundancy, a derived class is developed upon a base class to achieve code reusability.
Encapsulation object-oriented programming :
Encapsulation is the mechanism that binds together code and the data, to manipulate together.
In encapsulation, the variables of the class will be hidden from other classes and can be accessed only through the methods of their current class.
Polymorphism object-oriented programming :
Polymorphism is the ability of a variable, function, or object to take on multiple forms.
Overloading of function is achieved by the usage of polymorphism.
Abstraction object-oriented programming :
Abstraction is the methodology of hiding the implemented details from the user and only providing the necessary one.
In Java, we can abstract class and interface to achieve abstraction.
Nesta página do site você pode assistir ao vídeo on-line Object Oriented Programming Concepts | Object Oriented Programming In Java | OOPS For Beginner duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Pawan S Nair 02 Agosto 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 211 vezes e gostou 12 espectadores. Boa visualização!