nerdexam
Android

OA0-002 · Question #116

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

(19 responses)
  • B
    5% (1)
  • C
    11% (2)
  • D
    84% (16)

Community Discussion

No community discussion yet for this question.

Full OA0-002 Practice