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

Type Casting and Division

< Prev
Next >

Which of the following Java expressions evaluates to 0.5?

I. (double)(1/2)

II. (double)1/2

III. 1/(double)2

A

II and III only

B

II only

C

I, II, and III

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
#1dilip11 0m 00s 100
#2kazvin.tjakradinata11 0m 08s 92
#3alchemax04311 0m 14s 86
#4patrickmeijer00912 0m 37s 53
#5parth.taur22711 0m 54s 46
#6701704612 0m 46s 44
#7hyeokjinlee092413 1m 07s 13
#8songqiuhui201201 0m 04s -14
#910818526501 0m 21s -31
#10psak1201 0m 44s -54
Items per page:
10
1 – 10 of 16
No comments yet. Be the first to comment!

AI Tutor

How can I help?

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