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
Name four container classes.
What is the difference between array and array list in java?
Can we serialize singleton class?
What is basic syntax?
What is the difference between iterator and list iterator?
How do generics work?
What is the structure of java?
What are drawbacks of singleton class?
When will you define a method as static?
what is a green thread? : Java thread
What are examples of modifiers?
Can a boolean be null java?
What is meant by memory leak?
Explain creating threads by implementing runnable class?
Convert Binary tree to linked list.