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

Which method is used to find that the object is exited or not?

2 Answers  


can we have virtual functions in java?

11 Answers   Wipro,


How many functional interfaces does java 8 have?

0 Answers  


How to set the Heap size in Java ?

2 Answers   HCL,


can u override the start() method of Thread class

5 Answers  






Difference between notify() method and notifyall() method in java?

0 Answers  


Name few java 8 annotations ?

0 Answers  


Which is better stringbuffer or stringbuilder?

0 Answers  


How much ram can a 64 bit processor theoretically?

0 Answers  


What is jar?

0 Answers  


Superclass of exception

4 Answers   Nous,


Difference between an argument and a parameter?

10 Answers   Accounting, HCL, IBM, Quinnox,


Categories