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)- A14% (3)
- B5% (1)
- C5% (1)
- D76% (16)
Community Discussion
No community discussion yet for this question.