Get Started
1082

Q: Write a quick script for launching a new activity within your application.

  • Show Answer
  • Workspace

Answer :
Explanation :

An explicit intent explicitly defines the activity the developer wishes to start.  Script code : Intent myIntent = new Intent(this, MyNewActivity.class); startActivity(myIntent);

The Most Comprehensive Exam Preparation Platform

Get the Examsbook Prep App Today