aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Mock Exam Question - what is the correct answer ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Mock Exam Question - what is the correct answer ?" Watch "Mock Exam Question - what is the correct answer ?" New topic
Author

Mock Exam Question - what is the correct answer ?

Mana Lesar
Greenhorn

Joined: Apr 12, 2010
Posts: 25
Here is the question:


And the Answer says: "Foo".

As for me the code will not compile due to error in line:

String name = pageContext.findAttribute("name");

because attribute needs to be casted to String here... But i have found this question in other source and it also said that answer is "Foo".
What you think ranchers ?
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1696
    
  25

Hi,

In order to get an answer: please QuoteYourSources

Regards,
Frits
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mock Exam Question - what is the correct answer ?