What does this code do ??

Intent intent = new Intent();

intent.setAction(Intent.ACTION_VIEW);

intent.setData(android.net.Uri.parse(“https://www.mcqs.onlinemcqs.com”));

startActivity(intent);

A. Starts a sub-activity
B. Starts a service
C. Sends results to another activity
D. Starts an activity using an implicit intent

Leave a Reply