Are you taking CLEP classes? Try clep.ai
| preferred AP College board partner for AP classes
AP Computer Science A/Unit 1: Primitive Types
Start Practice TestPractice Test
About Exam
hard Solved by 15 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
#4ragulk1412200611 0m 24s 76
#5patrickmeijer00912 0m 37s 53
#6parth.taur22711 0m 54s 46
#7701704612 0m 46s 44
#8hyeokjinlee092413 1m 07s 13
#9songqiuhui201201 0m 04s -14
#1010818526501 0m 21s -31
Items per page:
10
1 – 10 of 17

AI Tutor

How can I help?

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