What does the following statement do? startActivity(new Intent(getApplicationContext(), SettingsActivity.class));

What does the following statement do?
startActivity(new Intent(getApplicationContext(), SettingsActivity.class));








a. It starts the activity that's defined by the class named SettingsActivity.
b. It starts the activity that's defined by the class named Intent.
c. It creates a menu item for the class named SettingsActivity.
d. This statement won't compile because it uses the wrong number of parameters.












Answer: A


Android

Learn More Multiple Choice Question :