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 Exam AND-801 Topic 2 Question 39 Discussion

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

The following image includes Android code for an app that contains a button with an id : "Downloadbutton". When the app user clicks this button, a progress bar with id: "progressBar" will show up. What will happen if you change *'rate+=10" illustrated with green underlined text to ''rate+=50"?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Marion
1 months ago
Option C, definitely. Changing the code that much is just asking for trouble. I bet the app's gonna crash and burn if you try that.
upvoted 0 times
...
Bettina
1 months ago
Eve
upvoted 0 times
...
Lawrence
2 months ago
Hmm, that's a good point. We should be careful with making such changes in the code.
upvoted 0 times
...
Corrie
2 months ago
I disagree, I believe changing the rate to 50 might cause an error in the app.
upvoted 0 times
...
Lawrence
2 months ago
I think if we change *'rate+=10' to 'rate+=50', the progress bar will fill up faster.
upvoted 0 times
...

Save Cancel