Which of these is the correct explanation regarding the following methods?
(1)android.content.Context.sendBroadcast
(2)android.content.Context.startActivity
Which of these is the correct explanation regarding the following methods?
(1)android.content.Context.sendBroadcast
(2)android.content.Context.startActivity
Both methods are asynchronous. The sendBroadcast method is used to send a broadcast intent, which is handled asynchronously by the Android system. The startActivity method is used to start a new activity, which is also an asynchronous operation as it does not block the caller while the new activity is started.
D. Both methods are able to broadcast an Intent.