OOP - what is object-oriented programming
OOP
OOP stands for - Object Oriented programming. Java is an IDE(Integrated develpment environment) which allows you make the programs in an easy and innovative manner.
OOP's concepts are implented using class, object,and methods. The fore core concepts of OOP are Abstraction, Polymorphism, Inheritance and Encapsulation. Let us know a brief idea about these first,
* Abstraction : One of the essential features of OOP, It is an act of representing the essential features of an object without knowing its background and details is known as abstraction.
* Polymorphism : It means ' many forms' or "one interface, multiple methods". It allows one interface to be used for many purposes. It is an act or process of defining an object in many forms represented by the same name .
* Inheritance : An act in which the object acquires the properties of the parent class or the main class is known as inheritance. The class whose properties are inherited by some other class is known as the main or parent or base class. The class that acquires the properties of the base class is known as derived, child class.
* Encapsulation : It is an act of combining the data and its methods in a single combined unit.
Java languages such as C++, Java, C#.NET, VB.NET, etc support OOP's features.
Comments
Post a Comment