📚 Practice Mode

Java Programming Fundamentals

Learn at your own pace with hints and detailed explanations

1 / 20
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