Can some one tell me about the Class type casting in JAVA... ???
i.e. what happens when we type cast a super class object to its sub class and type cast a sub class object to its super class..???
[ December 17, 2006: Message edited by: Aravind Jerubandi ]
i.e. what happens when we type cast a super class object to its sub class and type cast a sub class object to its super class..???
[ December 17, 2006: Message edited by: Aravind Jerubandi ]