View Single Post
  #7  
Old 08-29-2007, 06:18 AM
itbarota itbarota is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 542
itbarota is on a distinguished road
Default Re: Java/J2EE interview Questions

What are Encapsulation, Inheritance and Polymorphism?
*Encapsulation is the mechanism that binds together code and data it manipulates and keeps both safe from outside interference and misuse
*Inheritance 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.
Reply With Quote