Are you taking CLEP classes? Try clep.ai
| preferred AP College board partner for AP classes
medium Solved by 7 students

Integer Division and Double Casting

< Prev
Next >

Which of the following Java expressions evaluates to the double value 4.5?

I. (double) 9 / 2;

II. (double) (9 / 2);

III. (double) (9 / 2 + 0);
A

III only

B

II only

C

II and III only

D

I only

Hint
Did You Know?
Explain Why
Explain All Answers
Check Answer
Show Correct Answer
Report Question
Mark for review

Question Leaderboard

Rank
User
Correct Count
Attempt Count
Total Time
Score
#1y.seong202711 0m 09s 91
#2patrickmeijer00911 0m 10s 90
#3parth.taur22711 0m 12s 88
#4lsj0803092211 0m 15s 85
#510818526511 0m 29s 71
#6solsaloe01 0m 00s -10
#7701704602 0m 59s -79
#8shelter200200403 1m 09s -99
#9bommasam00003 1m 15s -105
#10geethasailaja14 5m 01s -231
Items per page:
10
1 – 10 of 10
No comments yet. Be the first to comment!

AI Tutor

How can I help?

APFIVE © 2020.
Email: apfive@apfive.org|Privacy Policy|FAQ