Multiple choice technology programming languages

Are true and false keywords in java?

  1. Yes

  2. No

  3. Cant say

  4. Not Aplicable

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

true and false are boolean literals in Java, not reserved keywords. They are reserved words that cannot be used as identifiers, but technically they are literals, not keywords like if, while, or class.