VISUAL BASIC

INTRODUCTION TO NET

APPLICATION DEVELOPMENT

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Control returns to the original activity when the called activity finishes processing.
A
Call
B
Branch
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -If the activity becomes visible to the user again, the onRestart() method gets called, followed by onStart() and onResume(). The activity may go through this cycle many times.

Detailed explanation-2: -On Clicking the back button from the New Activity, the finish() method is called and the activity destroys and returns to the home screen.

Detailed explanation-3: -onCreate() You must implement this callback, which fires when the system first creates the activity.

Detailed explanation-4: -Start the Second Activity To start an activity, call startActivity() and pass it your Intent . The system receives this call and starts an instance of the Activity specified by the Intent .

Detailed explanation-5: -finish() method is used to finish the activity and remove it from back stack. You can call it in any method in activity.

There is 1 question to complete.