nerdexam
Android

AND-401 · Question #52

AND-401 Question #52: Real Exam Question with Answer & Explanation

Sign in or unlock AND-401 to reveal the answer and full explanation for question #52. The question stem and answer options stay visible for context.

Question

Consider the following code: Intent i = new Intent(this, MainActivity.class); i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(i); What best explains the code above?

Options

  • AThe activity being launched is already running in the current task, then instead of launching a new
  • BAny existing task that would be associated with the activity to be cleared before the activity is
  • CA new Activity will be launched and it will be on the top of the stack
  • DA new activity will be launched but will be in full-screen mode.

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.

Full AND-401 Practice