OOPs

Object-oriented programming is a method used for designing a program using classes and objects. Object-oriented programming is also called the core of java. Object-oriented programming organizes a program around objects and well-defined interfaces. This can also be characterized as data controlling for accessing the code. In this type of approach, programmers define the data type of a data structure and the operations that are applied to the data structure. This implies software development and maintenance by using some of the concepts:

•Object 
•Class
•Abstraction
•Inheritance 
•Polymorphism
•Encapsulation

OOps, concepts in java is to improve code readability and reusability by defining a Java program efficiently. The main principles of object-oriented programming are abstraction, encapsulation, inheritance, and polymorphism. These concepts aim to implement real-world entities in programs.
Class : A class is a user defined blueprint or prototype from which objects are created. It represents the set of properties or methods that are common to all objects of one type.
Objects: It is a basic unit of Object-Oriented Programming and represents the real life entities. 
Data Abstraction: Data Abstraction is the property by virtue of which only the essential details are displayed to the user.The trivial or the non-essentials units are not displayed to the user.
Encapsulation: It is defined as the wrapping up of data under a single unit. It is the mechanism that binds together code and the data it manipulates. Another way to think about encapsulation is, it is a protective shield that prevents the data from being accessed by the code outside this shield. 
Inheritance: Inheritance is an important pillar of OOP. It is the mechanism in java by which one class is allow to inherit the features(fields and methods) of another class.
Polymorphism: It refers to the ability of OOPs programming languages to differentiate between entities with the same name efficiently. 
Posted on by