A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
Joined: Sep 09, 2005
Oct 23, 2005 02:29:00
On page 355
the bang box mentions that I get an exception if type= Foo.Employee and class is Foo.person
does it actually mean an exception or a compile time error.
I think we should get a compile time error since the compilation rules are violated.
correct me if iam wrong !!
Joined: Dec 07, 2004
Oct 23, 2005 21:42:00
Yes, you are right. The
won't be generated.
Best Regards,<br />DongShan<br /> <br />SCJP1.4, SCWCD1.4
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: HFSJ doubt
confused in runtime exception and compile time exception
Seeking Exam Advise
bout top-level class
If main throws exception ...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015