PrepAway - Latest Free Exam Questions & Answers

what order would they be notified if the application were shut down?

If four classes were instantiated in the following order, implementing the associated event listener,
in what order would they be notified if the application were shut down?
CustomConnectionManager implements HttpSessionListener
CustomerManager implements ServletContextListener
OrderManager implements HttpSessionListener
ShoppingCartManager implements HttpSessionListener

PrepAway - Latest Free Exam Questions & Answers

A.
CustomerManager, CustomConnectionManager, OrderManager, ShoppingCartManager

B.
CustomerManager, ShoppingCartManager, OrderManager, CustomConnectionManager

C.
ShoppingCartManager, CustomerManager, OrderManager, CustomConnectionManager

D.
ShoppingCartManager, OrderManager, CustomerConnectionManager, CustomerManager


Leave a Reply