Tell me about different OOPS concepts.



Tell me about different OOPS concepts...

Answer / Teekaram Saraswat

Object-Oriented Programming (OOP) includes key concepts such as Encapsulation, Inheritance, Polymorphism, and Abstraction. Encapsulation is the practice of hiding the internal details and exposing only necessary methods or properties to users. Inheritance allows a new class to inherit properties and behaviors from an existing one. Polymorphism enables objects of different types to be treated as objects of a common supertype, allowing for greater flexibility and code reuse. Abstraction involves defining abstract classes or interfaces that outline essential features without providing specific implementation details.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain the different forms of polymorphism?

1 Answers  


Is char a method in java?

1 Answers  


what is the purpose of method overriding in java where v r completely re-defining a inherited method instead y can't v create a new method and define.If the question is very silly plz excuse me and do reply.Thank U!

7 Answers   emc2, Kumaran Systems,


what are the boundaries of jdk and jre?

0 Answers   CoreObjects,


Are constructors methods?

1 Answers  


What are the four versions of java?

1 Answers  


What are the features of junit?

1 Answers  


If a method is declared as protected, where may the method be accessed?

1 Answers  


Convert Binary tree to linked list.

1 Answers   Amazon,


what is mean by overriding in which situation we wil use?

5 Answers   Atlas Systems, CSC, DCPL,


Can we clone singleton class in java?

1 Answers  


Differentiate jar and war files?

1 Answers  


Categories