Java Tutorial |Java OOPS Concepts with examples| Part 1

Опубликовано: 09 Октябрь 2024
на канале: Software Testing Step-by-Step
554
5

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.