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
What is unsigned char?
What does yield method of the thread class do?
When is the garbage collection used in Java?
Why string is not thread safe?
Is static a singleton?
What is overloading and overriding in java?
Why stringbuilder is not thread safe in java?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
Can we override private constructor in java?
How we can make copy of a java object?
Can we declare a constructor as final?
Why we use multi threading instead of multiprocessing?
Which eclipse is best for java?
what is mutual exclusion? : Java thread
How does thread synchronization occurs inside a monitor?