Java OCA OCP Practice Question 270

Question

Which of the following operators can perform promotion on their operands?

(Choose all that apply.)

  • A. +
  • B. -
  • C. ++
  • D. --
  • E. ~
  • F. !


A, B, E.

Note

All numeric operators promote.

!, which is strictly boolean, does not promote.




PreviousNext

Related