A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
instanceof doesn´t works as expected
Joined: Jun 22, 2012
Sep 10, 2013 06:42:30
when I try to do this
opprowPerson instanceof OppositionPerson
it doesnt works in BIRT but if I try to show the content
it shows pakcageName.OppositionPerson@a0d967
Any idea, please?
Joined: Jul 26, 2007
Sep 10, 2013 08:18:13
That suspiciously looks like a toString() invoked on an OppositionPerson instance.
You need to provide us some background, show us some code and tell us what problem you are facing so we can help point you in the right direction
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
I agree. Here's the link:
subject: instanceof doesn´t works as expected
how to cast superclass into subclass
Shift Operator Gurus !!
TypeCast Error while setting a value in a setter method
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014