• Post Reply Bookmark Topic Watch Topic
  • New Topic

Epractice Lab mock exam 4 order of listeners

 
Himai Minh
Ranch Hand
Posts: 1400
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Which of the following statements are true about servlet 3.0?
A. Listeners are invoked in a random order
B. The order in which listeners are invoked can be defined.
C. Order can be specified in web.xml or annotations.
Given answer: B,C


I think the answer should be A, B.
C is partially correct as the order can be defined in web.xml, but not annotations.
A is partially correct if the listeners are defined by annotations.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!