Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read( JavaRanchFAQ);
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Originally posted by Roger Chung-Wee:
Your cast says that BigDecimal[] inherits from Object[]. This is not so as there is never any hierarchy amongst arrays. To put it another way, BigDecimal[] only inherits from Object.
Originally posted by Henry Wong:
I don't think this is true -- there should be a "mirror" hierarchy with array objects. The top of the hierarchy should be Object[] inheriting from Object.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
I don't think this is true -- there should be a "mirror" hierarchy with array objects. The top of the hierarchy should be Object[] inheriting from Object.
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Originally posted by Roger Chung-Wee:
So, can you explain why you get the ClassCastException?