Which is the incorrect explanation of an Activity?

Which is the incorrect explanation of an Activity? A. If another Activity is instantiated when the Activity is executed, onPause() will be executed. B. When the Activity is displayed in the foreground, onResume() will be executed. C. When the Activity is displayed again, onRestart() will be executed instead of onStart(). D. When the Activity returns […]

Read More

Which of these is the correct explanation of BroadcastReceiver?

Which of these is the correct explanation of BroadcastReceiver? A. The process which BroadcastReceiver makes active will be protected so that it cannot be forcequit. B. BroadcastReceiver will only be assumed active when executing getReceive(). C. BroadcastReceiver notifies the source of optional processing results based on the broadcast contact(s). D. BroadcastReceiver displays a user interface. […]

Read More

Which of these is the correct explanation of an XML layout file?

Which of these is the correct explanation of an XML layout file? A. In order to display a Ul defined in the XML layout file “main.xml”, call the setContentView method of the Activity with the parameter string Bmain.xml”. B. There is no distinction between implementation of the layout definition by code, or by XML layout […]

Read More