In the following piece of code .
o instanceof Moof should give result as false .Because "two" which is an objet of Moof is now assigned to Object o . So now o is the object of type Object . And Object is the parent class of all the classes so ,
Based on the above o instanceof Moof should be false ? Am i right ?
[ December 19, 2007: Message edited by: Manishk Rai ]