User Id :    Password :      New Member   Forgot Password  
Topic: Can any one give live example of Encapsulation and Polymorphism?
Mansi Gupta
10 Mar 2011 at 10:55 PM
Can any one give live example of Encapsulation and Polymorphism?
Re: Can any one give live example of Encapsulation and Polymorphism?
Mohammad Rijwan Khan
01 Apr 2011 at 03:18 AM

hi frnd.

i think u want to know about the  Encapsulation which means that when we using class and things means functions,Variables,attributes are completely inside the class this is called Encapsulation.and this is OPPS concept and the Polymorphism means when we want to reuse the same code for other things then in such case we use function and use the same function in the program anytime.Polymorphism means a function has many forms by its parameter,by its return type.thats it..

 i hope u got it then reply me..

Total Replies: 1
 
Featured Text Ad

Featured Ad