File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFSJ doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFSJ doubt" Watch "HFSJ doubt" New topic
Author

HFSJ doubt

Nishant Dhar
Greenhorn

Joined: Sep 09, 2005
Posts: 26
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 !!

nishant
Cai DongShan
Ranch Hand

Joined: Dec 07, 2004
Posts: 102
Yes, you are right. The servlet won't be generated.


Best Regards,<br />DongShan<br /> <br />SCJP1.4, SCWCD1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HFSJ doubt
 
Similar Threads
Exception Handling
confused in runtime exception and compile time exception
If main throws exception ...
bout top-level class
Seeking Exam Advise