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 Java 8 in Action this week in the Java 8 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: 1529
    
  22

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 ?
 
Similar Threads
Which one to select between Classic custom tag and Simple custom tag
How can a parent tag access its child tag's attribute in Simple Tag
Custom Tag Handler problem
Is returning invalid integer from doStartTag() is equivalent to returning EVAL_BODY_INCLUDE ?
Doubt in TagSupport (Classic Tag)