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 4 Question 45 Discussion

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

Check the following image which includes Android code for a sum calculator. Which of the following choices is correct about this Android code?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Rasheeda
21 days ago
Wait, how am I supposed to use this calculator if I don't have a way to input the numbers? Option D is the only logical choice here.
upvoted 0 times
...
Stephaine
1 months ago
Option B is the way to go. The sum result will show up in the TextView as long as the button click event is properly implemented.
upvoted 0 times
Erinn
19 days ago
I agree, the code looks like it will display the sum in the TextView after the button is clicked.
upvoted 0 times
...
Leanora
27 days ago
Option B is correct. The sum result will appear in the result_view TextView when the button is clicked.
upvoted 0 times
...
...
Odette
1 months ago
Haha, this code is missing the input method to enter the values of N1 and N2. Option D is the way to go, unless you want to do mental math every time!
upvoted 0 times
...
Melynda
2 months ago
I'm not sure, but I think we need to add an input method to enter the values of N1 and N2 numbers.
upvoted 0 times
...
Aileen
2 months ago
I agree with Tori, because the sum result will appear in result_view TextView widget when the user clicks button_sum button.
upvoted 0 times
...
Tori
2 months ago
I think the correct choice is B.
upvoted 0 times
...
Alfreda
2 months ago
I'm not sure, but I think we need to add an input method to enter the values of N1 and N2 numbers.
upvoted 0 times
...
Lindy
2 months ago
I think Option C is correct. N1 and N2 need to be converted to Integer first before performing the addition operation.
upvoted 0 times
Vi
16 days ago
I'm not sure, but I think Option B makes sense based on the code provided.
upvoted 0 times
...
Yuette
23 days ago
I agree with you, Option B seems to be the correct choice.
upvoted 0 times
...
Chi
26 days ago
No, I believe it's Option B. The sum result of N1 and N2 will appear in result_view TextView widget when the user clicks button_sum button.
upvoted 0 times
...
Barrett
26 days ago
I agree with you. Option B seems to be the correct choice for this Android code.
upvoted 0 times
...
Barrett
27 days ago
I believe Option B is correct. The sum result will appear in result_view TextView widget when the user clicks button_sum button.
upvoted 0 times
...
Carlene
1 months ago
I think Option C is correct. N1 and N2 need to be converted to Integer first before performing the addition operation.
upvoted 0 times
...
...
Margot
2 months ago
The sum result will definitely appear in the result_view TextView widget when the user clicks the button_sum button. Option B is the correct answer here.
upvoted 0 times
...
Dusti
2 months ago
I agree with Isabella, because the sum result will appear in result_view TextView widget when the user clicks button_sum button.
upvoted 0 times
...
Isabella
2 months ago
I think the correct choice is B.
upvoted 0 times
...

Save Cancel