• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mock Exam Question - what is the correct answer ?

 
Mana Lesar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Saloon Keeper
Pie
Posts: 2266
76
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In order to get an answer: please QuoteYourSources

Regards,
Frits
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic