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
How many bytes is a string java?
Can a constructor call the constructor of parent class?
Difference between linkedlist and arraylist.
What is primitive data type in java?
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
Explain about sets?
What is super keyword explain with example?
Discuss about garbage collector in Java.
Why do you canvas?
Why does java have two ways to create child threads? Which way is better?
What is formatted output?
What is the function of java?
What is the difference between private & public & friendly classes?
what is the difference between thread and runnable types? : Java thread
Can constructor be static or final?