This week's book giveaway is in the Android forum.
We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line!
See this thread for details.
Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HFSJ 2nd Edition Mock exam doubt  RSS feed

 
NishaP Raj
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The following question should have the option C also checked.But the book doesnt do that.Can anyone clarify?

When creating session listeners which are true?
a.They are all declared in the DD.
b.Not all of them must be declared in the DD.
c.The DD tag used to declare them is <listener>.
d.The DD tag used to declare them is <session-listener>.
e.The DD tag used to declare them is placed within the <web-app> tag.
f.The DD tag used to declare them is placed within the <servlet> tag.

The given answer is b and e. But i think c isalso correct. Please confirm?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If e is correct, c also looks correct to me.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!