Java Programming Fundamentals

Casual Mode - Take your time!

1 / 20
Correct
0
Incorrect
0
Score
0%
Multiple Choice

What happens when you compare two primitives of different numerical types?

  1. compiler error
  2. smaller type is promoted
  3. must explicitly cast
  4. none of the above
Change Mode