View Single Post
  #3 (permalink)  
Old 11-20-2007, 11:28 PM
sireesha sireesha is offline
Member
 
Join Date: Nov 2007
Posts: 50
sireesha is on a distinguished road
thank q very much,i have another doubt.
obj1 is a variable of Relatable reference data type.
Then how can we use this to call a method like
obj1.isLargerThan(obj2)
we can call a method only with class object.is this right ?
Reply With Quote