Match each increment / decrement operator with its operational behavior:
A1-A, 2-B, 3-C
B1-B, 2-A, 3-C
C1-C, 2-B, 3-A
D1-A, 2-C, 3-B
Answer & Solution
Correct answer: A. 1-A, 2-B, 3-C
++x increments before use. x++ increments after use. x += 5 adds 5 to x.
Keep practising Operators in Java
Browse all Operators in Java questions for ICSE Class 8, or explore more Computer Applications topics.
Related questions
Match each logical truth table rule in Java:Match each Java expression evaluation with its computed result:Match each category of Java operators with its representative examples:How is operator precedence affected when an operator is overloaded?Why does Java lack a delete operator and pointer dereference symbols?How is a ? b, c : d interpreted according to conditional rules?How is the expression a & b == 7 syntactically parsed by Java?Which operator accesses fields and methods of a Java class instance?