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

Explain about map interface in java?

583


What is java full form?

520


What is the latest java version?

550


What is re-factoring in software?

569


How can we run a java program without making any object?

538






What is the significance of listiterator?

563


When should a function throw an exception?

595


what is singleton class in java?

616


What is the benefit of singleton pattern?

518


Does .length start 0 java?

561


What package is math in java?

530


How to create packages in java?

519


State the difference between creating string as new () and literal.

517


What is += mean in java?

536


Can abstract class have private constructor?

492