File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
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
I agree. Here's the link:
subject: HFSJ doubt
confused in runtime exception and compile time exception
If main throws exception ...
bout top-level class
Seeking Exam Advise
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014