Java Tutorial |Java OOPS Concepts with examples| Part 1
What is OOPS?
Object Oriented Programming System
Created Based on Objects concepts
Increase the flexibility and maintainability of programs
Makes easier to understand ,how programs works.
It shows data and behavior together
OOPS Concepts with examples:
Object
Class
Abstraction
Encapsulation
Inheritance
Polymorphism
What is an Object?
Any entity that has State and Behavior
For Example pen,chair,car
State: Color,Looking,Parts
Behavior : Moving of Wheels, Engine horn, Music system etc
Creating the Methods.