The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2001



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.


converting an superclass object to subclass object

Posted by tejinder singh on February 01, 2001 at 4:51 AM

i had posted a question regarding conversion of a superclass object to a subclass the reply ,it was not clear that in case of methods of inbuilt java classes which have a return type of type object class ,we are able to convert it to our own class whereas it does not have any reference to the object of our class.

  • Re: karthik February 01, 2001 at 7:49 AM (2)
    • java s.v.Ramana August 21, 2001 at 4:39 AM (1)
      • java s.v.Ramana August 21, 2001 at 4:43 AM (0)

Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us