| preferred AP College board partner for AP classes
AP Computer Science A/Unit 1: Primitive Types
Start Practice TestPractice Test
About Exam
easy Solved by 5 students
Java Compound Assignment Operator Properties
< Prev
Next >

All of the following statements about Java’s compound assignment operators are true EXCEPT:

A

Compound assignments help to simplify code by reducing repetition.

B

a *= b is equivalent to a = a * b.

C

The expression a += b is not equivalent to a = a + b in any context.

D

Compound operators automatically perform type casting if needed.

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
#1sunilgsfdc11 0m 00s 100
#2lsj0803092211 0m 25s 75
#3ianrojas47311 0m 43s 57
#4raufyildirim9511 0m 46s 54
#5richa.tuli01 0m 01s -11
Items per page:
10
1 – 5 of 5
No comments yet. Be the first to comment!

AI Tutor

How can I help?

APFIVE © 2020.
Email: [email protected]|Privacy Policy