Object Oriented Programming Concepts | Object Oriented Programming In Java | OOPS For Beginner

Veröffentlicht am: 02 August 2020
auf dem Kanal: Pawan S Nair
211
12

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.


Auf dieser Seite können Sie das Online-Video Object Oriented Programming Concepts | Object Oriented Programming In Java | OOPS For Beginner mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Pawan S Nair 02 August 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 211 Mal angesehen und es wurde von 12 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!