Q12. One of the primitive types in Java is boolean. What is the boolean type? Where are boolean values used? What are its possible values?
Ans. The only values of type boolean are true and false. Expressions of type boolean are used in place where true/false values are expected.