This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 1661
    
  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 ?