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 e in java?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
Explain about static imports in java?
How can u increase the heap size in the memory?
Why is serialization required?
What is size of int in java?
Who developed java?
What are loops in java?
Why are lists ordered in java?
How many types of java are there?
What exactly is java?
Are floats faster than doubles?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
Is string a wrapper class?
What are static methods?