OOPs Concepts in Java
OOPs means Object Oriented Programming concepts. OOPs is a Programming methodology it providing some concepts for software development and maintenance.
OOPs Concepts List in Java
Object is real life entities that has state, behavior and identity is known as an object.
Example : Dog
Class is blue print of an object that means It represents the set of properties or methods.
In Inheritance one object acquires all the properties and behaviors of a parent object, it is known as inheritance.
Another Way you can say, one class is allow to inherit the fields and methods of another class.
Note :- The parent class is called the base class or super class. The child class that extends the base class is called the derived class or sub class or child class.
Syntax:Next Chapter More Details ........
Polymorphism is an OOPs Concepts that allows to perform a single action in different ways. that is called Polymorphism.
This figure show that a single function name can be used to handle the different numbers and different types of arguments.
Types of Polymorphism
Abstraction is a process hide the internal details and showing functionality is known as abstraction.
In another way you can say, where you show only "relevant" data and "hide" unnecessary details of an object from the user.
Example 1:- Phone call, we don't know the internal processing.
Example 2:- Program codeNext Chapter More Details ........
Encapsulation is defined as the wrapping up of data under a single unit.
Example : Tablet