Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 the best way to findout the time/memory consuming process?

0 Answers  


where do you place after you did code in java

2 Answers  


What is a parent class in java?

0 Answers  


What is garbage collection? Can it be forced to run?

0 Answers   Global Logic,


Can keyword be used as identifier?

0 Answers  






Tell me about your ability to work under pressure

0 Answers   AXA,


if we give input as " hi how are you" then the output should be "uoy woh"...it should skip odd words in the input and should reverse even words from the end of string...can anyone help me to write this program in java

1 Answers  


What is the function of character?

0 Answers  


why java is platform independent?

5 Answers   IBM, SparkTG,


Can an anonymous class be declared as implementing an interface and extending a class?

2 Answers  


Explain the difference between scrollbar and scrollpane?

1 Answers  


Are strings immutable in java?

0 Answers  






Categories