dcsimg
Substitution for instanceof
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

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

None.

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.

Regards
Harald M.

About | Sitemap | Contact