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


Please Help Members By Posting Answers For Below Questions

Describe 2 different ways to concatenate two strings.

671


Is a class subclass of itself?

589


What is difference between string and new string?

528


What is collection api?

602


What is the instance of an object?

542






What is difference between c++ and java ?

660


Why string is not a wrapper class?

636


What is number data type in java?

544


Why do we need strings in java?

517


What is the advantage of preparedstatement over statement?

550


What is formatted output in java?

492


What is memory leak and how does java handle it?

513


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

1354


What is the destroy method?

580


whatis Home interface and Remoteinterface? with example?

1536