Android
AND-401 · Question #108
What does the following code achieve? Intent intent = new Intent(FirstActivity.this, SecondActivity.class); startActivityForResult(intent);
The correct answer is B. Starts a sub-activity. See the full explanation below for the reasoning.
Question
What does the following code achieve? Intent intent = new Intent(FirstActivity.this, SecondActivity.class); startActivityForResult(intent);
Options
- AStarts a browser activity
- BStarts a sub-activity
- CStarts an activity service
- DSends results to another activity.
How the community answered
(21 responses)- A5% (1)
- B81% (17)
- C5% (1)
- D10% (2)
Community Discussion
No community discussion yet for this question.