Hi, The behavior of the object depending on the situation is called polymorphism.. Student example would be a frog which swims & hops depending on the environment ...
In Java it would be . the object reference variable depending on the object it points to will be behave accordingly when acted upon it .. Thanks Suresh >From: "Santosh Varma" <[EMAIL PROTECTED]> >Reply-To: "JDJList" <[EMAIL PROTECTED]> >To: "JDJList" <[EMAIL PROTECTED]> >Subject: [jdjlist] OOPS -> Polymorphism >Date: Thu, 30 May 2002 12:05:19 +0530 > >Hello all, > > Could any body of you explain me with an example what is meant by >Polymorphism.....I went through many sites,,but it is bit confusing and not >clear... >Thanks and regards, > >Santosh > > > >To change your membership options, refer to: >http://www.sys-con.com/java/list.cfm _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com To change your membership options, refer to: http://www.sys-con.com/java/list.cfm
