What are concepts of OOPS and how are they implemented in
Java?

Answers were Sorted based on User's Feedback



What are concepts of OOPS and how are they implemented in Java?..

Answer / tarangini

oops concepts are Encapsulation, inheritance, abstractio
and polymorphism.

Encapsulation: Buildingup of the data and methods as a
single unit is called encapsulation. It isolates the
members of one class from the members of another class, so
we can declare same variable in both the classes.

best example for encapsulation is: A Class


Inheritance: Producing the new classes from already
existing class is called inheritance. The newly produced
class contains the features of old class and it has its own
features.

the use of inheritance is reusability.

Abstraction: Hiding unnecessary data from the user is
called Abstraction.

Polymorphism: Poly means many. Morphism means forms.
If same object perfrom different tasks is called
polymorphism.

Is This Answer Correct ?    15 Yes 0 No

What are concepts of OOPS and how are they implemented in Java?..

Answer / ravikiran(aptech mumbai)

abstartcion
inheritence
polymorhism
encapsulation

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Core Java Interview Questions

What is a container in a gui?

0 Answers  


What are wrapper classes?

11 Answers   Noah Solutions,


What are the different types of constructor?

0 Answers  


What is 'finally' method in Exceptions?

4 Answers  


What is use of inner class in java?

0 Answers  






What is the difference between the synchronized() & static synchronized()?

2 Answers   HP, SparkTG,


What is classes in java?

0 Answers  


Program to output as below formate: 1 2 3 4 5 6 7 8 9 10

4 Answers   Huawei,


Is this valid in java ? Can we instantiate interface in java?

0 Answers  


What does it mean to flush a file?

0 Answers  


Why synchronization is important?

0 Answers  


What is string pool?

0 Answers  


Categories