| preferred AP College board partner for AP classes
AP Computer Science A/Unit 2: Using Objects
Start Practice TestPractice Test
About Exam
easy Solved by 11 students
Evaluating Compound Assignment Operators
< Prev
Next >

What is printed as a result of executing the following code segment?

int count = 5;
count++;
count += 3;
count–;
System.out.println(count);

A

9

B

8

C

7

D

5

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
#1bhavinidixit031111 0m 00s 100
#2sailajavadlamani3311 0m 00s 100
#3kaisuki11 0m 00s 100
#4richa.tuli11 0m 07s 93
#5ntgamja122 1m 50s 90
#6zgj0731041711 0m 12s 88
#7liuwilliam07241011 0m 32s 68
#8chunxiangxu.cxu01 0m 15s -25
#9bommasam00011 2m 10s -30
#10lsj0803092211 8m 12s -392
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