nerdexam
Android

AND-401 · Question #38

Which of these is the correct explanation regarding the following methods? (1)android.content.Context.sendBroadcast (2)android.content.Context.startActivity

The correct answer is D. Both methods are able to broadcast an Intent. See the full explanation below for the reasoning.

Question

Which of these is the correct explanation regarding the following methods? (1)android.content.Context.sendBroadcast (2)android.content.Context.startActivity

Options

  • ABoth methods are defined by overloading.
  • BBoth methods throw an exception.
  • CBoth methods are asynchronous.
  • DBoth methods are able to broadcast an Intent.

How the community answered

(21 responses)
  • A
    14% (3)
  • B
    5% (1)
  • C
    5% (1)
  • D
    76% (16)

Community Discussion

No community discussion yet for this question.

Full AND-401 Practice