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 length in java?

0 Answers  


What are the three types of design patterns?

0 Answers  


What is isa relationship?

0 Answers  


what is the difference between static block and static method

19 Answers   Huawei,


Why java is call by value?

0 Answers  






What is unicode in java?

0 Answers  


What is the difference between pageContext and page implicit objects in jsp?

9 Answers   Gspann Technologies, Merrill Lynch, Polaris,


What about features of local inner class?

0 Answers  


what is predefined function in java?

0 Answers  


What is a instance variable?

0 Answers  


Write a method to check if input string is palindrome?

0 Answers  


write a program to create an arraylist and listeterator.and value should be enter through keyboard.

1 Answers   Axcend,


Categories