Android Application Development v8 AND-801 Question # 11 Topic 1 Discussion

Android Application Development v8 AND-801 Question # 11 Topic 1 Discussion

AND-801 Exam Topic 1 Question 11 Discussion:
Question #: 11
Topic #: 1

Assume you are developing an Android app which consists of two activities, MainActivity and SecondActivity. The following image includes part of MainActivity code. This file includes a button that has id "Mybutton". What does the following code snippet do if it is executed after the user taps on the button (id: Mybutton)?

AND-801 Question 11


A.

Opens SecondActivity layout.


B.

Closes the app. then opens the phone's applications list


C.

Re-opens the same MainActivity layout.


D.

Moves "Hello" message to Second Activity layout


Get Premium AND-801 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.