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 difference between string and new string?
What does it mean to be immutable?
why Interface used?
What are methods?
Explain polymorphism citing an example.
What is the basic difference between string and stringbuffer object?
What is the purpose of the return statement?
What is the default value of local and global variables?
What is http client in java?
Does hashset allow duplicates in java?
List out five keywords related to exception handling ?
What are the 2 types of java programs?
Can we increase array size dynamically in java?
Why is java so important?
What is the meaning of variable in research?