Boolean type. Uses, Its Possible Values.

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.

2 thoughts on “Boolean type. Uses, Its Possible Values.

  • May 22, 2017 at 7:04 am

    Excellent web site. Plenty of useful info here. I am sending it to several buddies ans additionally sharing in delicious. And obviously, thank you on your effort!

    • January 28, 2018 at 10:22 pm

      Thank you for your comments, it really means a lot for us.


Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: