How OOPS concept is achieved in Java?
Answer Posted / kk
Encapsulation,Inheritance,Polymorphism are OOPS principles.
In Java, these OOPS principles are achieved as follows:
Encapsulation & data hiding is achieved thru access modifiers
Inheritance is achieved thru Interfaces
Polymorphism is achieved thru overloading of methods
| Is This Answer Correct ? | 43 Yes | 11 No |
Post New Answer View All Answers
Can java cast null?
Can you explain the usages of class.forname()?
Which language is java?
What is main difference between variable and constant?
What is ‘is-a ‘ relationship in java?
What does || mean in vectors?
What are the data types supported by java?
Explain about collection interface in java?
Difference between static synchronization vs. Instance synchronization?
Which list is sorted in java?
Should database connections be singleton?
Write a program in java to create a doubly linked list containing n nodes.
What do you mean by stream pipelining in java 8?
if u open login & logout ,how can udisplay the timelogin & logout members ?
Explain methods specific to list interface?