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
How can we make a class singleton?
Is java 9 released?
Is 0 a prime number?
Can static method access instance variables ?
What do you mean by an object in java?
How many types of methods are there?
What does it mean to flush a file?
Java is pass by value or pass by reference? Explain
Why we used vector class?
Differences between C and Java?
What is the use of parseint in java?
What is the difference between JDBC 1.0 and JDBC 2.0?
What is meant by memory leak?
Give few examples of final classes defined in Java API?
What are the Class Libraries ?