How OOPS concept is achieved in Java?
Answer Posted / james
1) Encapsulation:- is achieved through
classes.(Binding/Storing data and methods as a single unit )
2) Abstraction:-it is achieved through private, protected,
public, default keywords.
3)Inheritance through interfaces.
4)polymorphism is achieved through method overloading and
constructor overloading.
5)Message Passing -through objects calling
| Is This Answer Correct ? | 30 Yes | 6 No |
Post New Answer View All Answers
Is java a virus?
What is a boolean in java?
Is java 1.7 the same as java 7?
What does flagged out mean?
Can you give names of Container classes?
What is passing parameters in java?
What is the vector class in java programming?
Write a program to reverse array in place?
Why main method is called first in java?
Can we assign integer value to char in java?
What does a void function return?
When do we use synchronized blocks and advantages of using synchronized blocks?
Can anonymous class have constructor?
What is final method?
What do you know about the garbage collector in java?