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

Is math class static in java?

1 Answers  


How do you create an array in java?

1 Answers  


what is meant by Garbage collection?

1 Answers   Cap Gemini,


What is a string token?

1 Answers  


What are the features of junit?

1 Answers  


Why string objects are immutable in java?

1 Answers  


What is treemap in java?

1 Answers  


which of tha following is not a thread safe class? a) ArrayList b)Vector c)HashTable d)None

17 Answers  


Can a static method be overridden in java?

1 Answers  


what are three ways in which a thread can enter the waiting state? : Java thread

1 Answers  


What is queue in java?

1 Answers  


Can you declare an interface method static?

1 Answers  


Categories