nerdexam
Oracle

1Z0-441 · Question #74

You have built a mobile application with features X and Y. You have implemented an application leveloracle.adfmf.application.LifeCycleListenernamed AppListener with methodsstart()…

The correct answer is A. AppListener.stop(), AppListener.start(), YListener.activate(). See the full explanation below for the reasoning.

Question

You have built a mobile application with features X and Y. You have implemented an application leveloracle.adfmf.application.LifeCycleListenernamed AppListener with methodsstart(), stop(),activate(),anddeactivate(). You have also implemented two feature- leveloracle.adfmf.feature.LifeCycleListenerclasses for features X and Y namedXListenerandYListenerwith methodsactivate()anddeactivate(). A user has opened your application and the code is currently executing in feature X. The user then performs the following steps: 1. Suspend the application (put it in the background). 2. Start the application. 3. Open feature Y. Which option describes the methods and the specific order in which they are invoked when the user performs these steps?

Options

  • AAppListener.stop(), AppListener.start(), YListener.activate()
  • BXListener.deactivate(), AppListener.deactivate(),
  • CXListener.stop(), YListener.activate()
  • DXListener.deactivate(), XListener.activate(), XListener.deactivate(), YListener.activate()

How the community answered

(41 responses)
  • A
    73% (30)
  • B
    7% (3)
  • C
    2% (1)
  • D
    17% (7)

Community Discussion

No community discussion yet for this question.

Full 1Z0-441 Practice