Test: First Android Program via XML Layout Using Eclipse and the Android plugin
5. Which import statement would you most likely see in an Android application?
Congratulations! Correct Answer.
You Answered: None. If you took the test, your answer will show up here.
Correct Answer: import android.app.Activity;
ExplanationAll the choices include valid classes from the Android SDK. However, Activity class is subclassed in an Android application to make a new activity which simply does some work or even creates some user interface.
Take the TestTake the complete test on this topic. You will be able to review answers to questions and get a test score.
Take the Test
Question 5 of 6