What is the object oriented in java
What is object oriented in java Encapsulation :- Encapsulation is a protective wrapper that prevents the code and data from being arbitrarity accessed by other code defined outside the wrapper.
Encapsulation is a protective wrapper that prevents the code and data from being arbitrarity accessed by other code defined outside the wrapper. Access to the code and data inside the wrapper is tightly controlled through a well-defined interface.Encapsulation is the mechanism that binds together code and the data it manipulates, and keep safe from misuse. The basis of encapsulation is the class.
Inheritence is the process by which one object acquire the properties of another object.By use of inheritance an object need only define those qualities that make it unique within its class.It can inherit its general attribute from its parent.
Polymorphism is feature that allows one interface to be used for a general class of actions. The specific action is determined by the exact nature of the situation.polymorphism is often expressed by the phrase “one interface multiple methods”.
Through the process of abstraction, a programmer hides all but the relevant data about an object in order to reduce complexity and increase efficiency.for example,people use a car to drive to the grocery store without being overwhelmed by the complexity of the parts that from the car.we ignore the details of how the engine,braking system and system works as in abstraction