What are Encapsulation, Polymorphism and Inheritance?

Answer Posted / sakthi k

Wrapping of data and functions together is known as
Encapsulation. Eg: Capsule.


Ability of an object to take more than one form is known as
polymorphism.
Two types of polymorphism are availabe
Compile time
Run time

The process of acquiring the base class property is known
as Inheritance

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by string is immutable?

515


What is the applet security manager, and what does it provide?

530


What is linkedlist in java?

500


Explain the difference between runnable and callable interface in java?

576


What is the difference between Java and C++?

608






What is the main use of java?

567


What does string [] args mean?

536


What does the ‘static’ keyword mean? Is it possible to override private or static method in java?

557


What is e in java?

537


Explain about member inner classes?

580


Is it possible to compare various strings with the help of == operator? What are the risks involved?

605


What are triggers in DB? Explain their types. How do they work?

619


Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification

1367


Can we override compareto method?

496


What modifiers may be used with an inner class that is a member of an outer class in java programming?

526