Thread
:
i can't understand using interface as a type
View Single Post
#
3
(
permalink
)
11-20-2007, 11:28 PM
sireesha
Member
Join Date: Nov 2007
Posts: 50
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 ?
sireesha
View Public Profile
Send a private message to sireesha
Find all posts by sireesha