Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
Re:
Posted by karthik on February 01, 2001 at 7:49 AM
c'd you please give any examples ( from Java API ) which exhibits this kind of behaviour.In case of say a Vector , we do add our Class's reference and when we do a elementAt(i) it returns our class's refernce as an Object (upcast) and we are able to cast it back to our class. karthik
Replies:
- java s.v.Ramana August 21, 2001 at 4:39 AM
(1)
- java s.v.Ramana August 21, 2001 at 4:43 AM
(0)
|