Solved

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

Question 191

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