Solved

Consider the Following Code: Intent Intent = New Intent(); Intent

Question 76

Multiple Choice

Consider the following code: Intent intent = new Intent() ; intent.setAction(Intent.ACTION_VIEW) ; intent.setData(android.net.Uri.parse("http://www.androidatc.com") ) ; startActivity(intent) ; Which of the following is correct about the code above?


A) It sends a result to a new Activity in a Bundle.
B) It will not compile without adding the INTERNET permission the Manifest file.
C) It starts any activity in the application that has a WebView in its layout.
D) When it is executed, the system starts an intent resolution process to start the right Activity.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents