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
2 months 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
Cassandra
23 days ago
User 3: I agree, without an input method, the calculator won't be useful.
upvoted 0 times
...
Theola
26 days ago
User 2: Yeah, we definitely need a way to input the numbers for the calculator to work.
upvoted 0 times
...
Jesus
1 months ago
User 1: I think Option D is the correct choice.
upvoted 0 times
...
...
Stephaine
3 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
Halina
1 months ago
Looks like the code is set up to show the sum result in the TextView when the button is clicked. Option B is the correct choice.
upvoted 0 times
...
Erinn
2 months ago
I agree, the code looks like it will display the sum in the TextView after the button is clicked.
upvoted 0 times
...
Leanora
2 months ago
Option B is correct. The sum result will appear in the result_view TextView when the button is clicked.
upvoted 0 times
...
...
Odette
3 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
3 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
3 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
3 months ago
I think the correct choice is B.
upvoted 0 times
...
Alfreda
3 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
3 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
2 months ago
I'm not sure, but I think Option B makes sense based on the code provided.
upvoted 0 times
...
Yuette
2 months ago
I agree with you, Option B seems to be the correct choice.
upvoted 0 times
...
Chi
2 months 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
2 months ago
I agree with you. Option B seems to be the correct choice for this Android code.
upvoted 0 times
...
Barrett
2 months 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
3 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
3 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
3 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
4 months ago
I think the correct choice is B.
upvoted 0 times
...

Save Cancel