Oops Concept Interview Questions

1. Explain oops concepts in detail?

Object oriented programming System (OOPS) is an abstract term. Its the way of programming software application where bunch of objects are talking to each other. Where, Object is the collection of data, methods variables etc.

Basically there are 4 main features of OOPS

Encapsulation
Polymorphism
Inheritance
Abstraction

2. Explain what is Encapsulation?

Encapsulation is a process of wrapping up of data under single unit so that outside world can not see the internal functionality.

Technically, you can understand it as in a class if you declare variables, you keep it as private but the setters and getters for those variables are kept as public.

3. What is inheritance ?

4. What is polymorphism in java?

5. What is Abstraction in Java

6. Differences between traditional programming language and object oriented?

Leave a Reply