Substitution for instanceof
1 posts in topic
Flat View  Flat View

Posted By:   RV_RamaKrishna
Posted On:   Thursday, December 16, 2004 11:57 PM

What is the other method avialable for instanceof operator in java??

Please use html tags to format code blocks.

Re: Substitution for instanceof

Posted By:   Anonymous  
Posted On:   Friday, December 17, 2004 01:36 AM


Alternative ways of doing things depending on type are polymorphism (MOST IMPORTANT!) and reflection.

If this is a course/homework question, my answer will do. Otherwise, tell your problem.

Harald M.

About | Sitemap | Contact