nerdexam
Android

AND-401 · Question #67

What does the following line of code achieve? Intent intent = new Intent(FirstActivity.this, SecondActivity.class );

The correct answer is D. Create an explicit Intent. See the full explanation below for the reasoning.

Question

What does the following line of code achieve? Intent intent = new Intent(FirstActivity.this, SecondActivity.class );

Options

  • ACreates an hidden Intent
  • BCreates an implicit Intent
  • CCreate an explicit Intent
  • DCreate an explicit Intent

How the community answered

(56 responses)
  • A
    5% (3)
  • B
    9% (5)
  • C
    2% (1)
  • D
    84% (47)

Community Discussion

No community discussion yet for this question.

Full AND-401 Practice