Q. The ++ operator in Java is a:

A
Relational Operator
B
Logical Operator
C
Assignment Operator
D
Unary Operator
Solution:

A Unary Operator operates on a single operand. The increment operator (++) increases the value of its operand by one.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!