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 we call thread start () twice?
What is the use of string and stringbuffer?
Which data type is class in java?
Is array a class in java?
What are some examples of variable costs?
What is the default value of local and global variables?
What is tostring () method?
os is developed in c no java is more secured then c na why dont the os developed is developed using java
In java, how we can disallow serialization of variables?
What are the different ways of creating thread?
Explain what is Marker interface?
Can we have any code between try and catch blocks?
In how many ways we can do synchronization in java?
How does hashset work in java?
What are strings in physics?