core java
INSTRUCTOR: krupali tetar
Ch.1 principles of object oriented language java:
● Abstraction
● Encapsulation
● Inheritance
● Polymorphism
1. Abstraction:-
○ An essential element of object-oriented programming is abstraction.
○ Humans manage complexity through abstraction.
○ For example, people do not think of a car as a set of tens of thousands of
individual parts.
○ They think of it as a well-defined object with its own unique behaviour.
○ This abstraction allows people to use a car to drive to the grocery store
without being overwhelmed by the complexity of the parts that form the car.
○ They can ignore the details of how the engine, transmission, and braking
systems work.
○ Instead, they are free to utilize the object as a whole.
1
INSTRUCTOR: krupali tetar
Ch.1 principles of object oriented language java:
● Abstraction
● Encapsulation
● Inheritance
● Polymorphism
1. Abstraction:-
○ An essential element of object-oriented programming is abstraction.
○ Humans manage complexity through abstraction.
○ For example, people do not think of a car as a set of tens of thousands of
individual parts.
○ They think of it as a well-defined object with its own unique behaviour.
○ This abstraction allows people to use a car to drive to the grocery store
without being overwhelmed by the complexity of the parts that form the car.
○ They can ignore the details of how the engine, transmission, and braking
systems work.
○ Instead, they are free to utilize the object as a whole.
1