Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Android AND-801 Exam - Topic 3 Question 97 Discussion

Actual exam question for Android's AND-801 exam
Question #: 97
Topic #: 3
[All AND-801 Questions]

The first image below includes an Android code to generate AlertDialog which is illustrated in the second image. The last line of the code includes "xxxxxxx". Which of the following choices is the correct line of code to replace "xxxxxxx" for the purpose of showing this AlertDialog?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Detra
4 days ago
This is tricky! I vaguely remember that method names are case-sensitive in Java, so I lean towards A) SaveAlert.show(), but I could be wrong.
upvoted 0 times
...
Emelda
9 days ago
I remember practicing a similar question where we had to call a method to display a dialog. I feel like it could also be D) savealert.show(), but I can't recall the exact syntax rules.
upvoted 0 times
...
Lisha
14 days ago
I think the correct answer might be A) SaveAlert.show(), but I'm not entirely sure if the capitalization matters.
upvoted 0 times
...

Save Cancel