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
3 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
Rosina
1 months ago
I wouldn't risk it. The progress bar might not work correctly if you change the code like that.
upvoted 0 times
...
Donette
1 months ago
Yeah, I agree. It's risky to make such a big change in the code. The app might not work properly.
upvoted 0 times
...
Evangelina
1 months ago
I think option C is correct. Changing the code that drastically will definitely cause an error.
upvoted 0 times
...
...
Bettina
3 months ago
Eve
upvoted 0 times
...
Lawrence
3 months ago
Hmm, that's a good point. We should be careful with making such changes in the code.
upvoted 0 times
...
Corrie
3 months ago
I disagree, I believe changing the rate to 50 might cause an error in the app.
upvoted 0 times
...
Lawrence
3 months ago
I think if we change *'rate+=10' to 'rate+=50', the progress bar will fill up faster.
upvoted 0 times
...

Save Cancel