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
What is methods in java?
Is java hard to learn?
Which one of the following suits the description of a string better: derived or primitive?
Can you declare a private method as static?
What is entry in java?
What is anagram word?
What is r in java?
What is a priority queue java?
What is an argument java?
Mention some features of java?
Why we cannot override static method?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?
Why for each loop is used?
How hashmap increases its size in java?
Is array serializable java?