Android
AND-401 · Question #87
AND-401 Question #87: Real Exam Question with Answer & Explanation
Sign in or unlock AND-401 to reveal the answer and full explanation for question #87. The question stem and answer options stay visible for context.
Question
Which of the following lines of code starts activity Activity2 from a current activity Activity1?
Options
- AIntent intent = new Intent(this,new Activity2());
- BIntent intent = new Intent(new Activity2());
- CIntent intent = new Intent (Activity1.class,Activity2.class);
- DIntent intent = new Intent(this,Activity2.class);
Unlock AND-401 to see the answer
You've previewed enough free AND-401 questions. Unlock AND-401 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.