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.
D. When it is executed, the system starts an intent resolution process to start the right Activity.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Mmadi
1 year, 12 months ago