What are Encapsulation, Polymorphism and Inheritance?

Answer Posted / janet

Encapsulation is the mechanism that binds together
code and data it manipulates and keeps both safe from
outside interface and misuse.
Inheritence is the process by which one object
acquires the properties of another object.
polymorphism is the feature that allows one
interface to be used for general class actions.

Is This Answer Correct ?    53 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What exactly is methodology?

484


What are abstract classes and anonymous classes?

643


Can Exception handling we can handle multiple catch blocks?

644


What flag up means?

603


What is the gregoriancalendar class in java programming?

570






Why do we need singleton?

541


How do you sing an Applet ?

2038


Is java platform independent?

570


What is passed by reference and pass by value ?

584


Can we catch more than one exception in single catch block?

599


Can we make constructors static?

726


what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent

1731


What does jre stand for?

609


What is passing parameters in java?

525


Can we have more than one package statement in source file ?

590