Choosing how to earn college credit? CLEP vs AP guide
| preferred AP College board partner for AP classes
easy Solved by 10 students

Java Compound Assignment Operators

Mark
< Prev
Next >

What is printed when the following code segment is executed?

int count = 5;
count++;
count += 2;
count--;
System.out.println(count);
A

7

B

6

C

8

D

9

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

Question Leaderboard

Rank
User
Correct Count
Attempt Count
Total Time
Score
#1bommasam00022 0m 19s 181
#2kaisuki11 - 100
#3liuwilliam07241011 0m 09s 91
#4Potter1611 0m 10s 90
#5pandasiteitei11 0m 34s 66
#6lsj0803092212 0m 32s 58
#7zgj0731041711 1m 03s 37
#8chunxiangxu.cxu01 0m 10s -20
#9richa.tuli12 7m 09s -339
Items per page:
10
1 – 9 of 9
No comments yet. Be the first to comment!

AI Tutor

How can I help?

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