| 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 18 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

I, II, and III

B

I only

C

II only

D

II and III only

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

Question Leaderboard

Rank
User
Correct Count
Attempt Count
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
#7songqiuhui201201 0m 04s -14
#810818526501 0m 21s -31
#9psak1201 0m 44s -54
#10yeee586413 2m 35s -75
Items per page:
10
1 – 10 of 15
No comments yet. Be the first to comment!

AI Tutor

How can I help?

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