Multiple choice technology web technology

Boolean values can be cast into any other primitive type.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Boolean values cannot be cast to other primitive types in Java. You cannot directly cast a boolean to int, char, or any other primitive type. You must use conditional logic or boolean expressions to convert boolean values to other types.