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 a class object?

694


Can we have multiple classes in single file ?

815


What is the functionability stubs and skeletons?

900


What is the equal sign?

803


What is the difference between length and length() method in java?

854


What access modifiers can be used for methods?

819


What is difference between wait and notify in java?

794


Can we override protected method in java?

808


What is the purpose of stub and skeleton?

755


Explain reverse a linked list recursive java solution?

744


What are design patterns and please explain?

827


What exactly is a .class file?

810


What do you mean by checked exceptions?

748


How do I enable java in safari?

767


What are the four pillars of java?

881