Java OCA OCP Practice Question 450

Question

Which of the following are valid operators in Java?

Select 4 options

  • A. !
  • B. ~
  • C. &
  • D. %=
  • E. $


Correct Options are  : A B C D

Note

A. ! operates only on booleans

B. ~ bitwise negation. Operates only on integral types.

C. & bitwise AND

D. %= similar to += or /=

E. $ It is not an operator !




PreviousNext

Related