Multiple choice technology programming languages

Is the following statement correct: char ch = 'd'; if(ch < 32.00){ }

  1. True

  2. False

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

In Java, char values can be implicitly promoted to numeric types like double in comparisons. The character 'd' has an ASCII value of 100, so the comparison 100 < 32.00 evaluates correctly in syntax and logic.