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
Describe 2 different ways to concatenate two strings.
Is a class subclass of itself?
What is difference between string and new string?
What is collection api?
What is the instance of an object?
What is difference between c++ and java ?
Why string is not a wrapper class?
What is number data type in java?
Why do we need strings in java?
What is the advantage of preparedstatement over statement?
What is formatted output in java?
What is memory leak and how does java handle it?
Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me
What is the destroy method?
whatis Home interface and Remoteinterface? with example?