What is a Boolean example?

Answer: Boolean is a primitive data type that takes either “true” or “false” values. So anything that returns the value “true’ or “false” can be considered as a boolean example. Checking some conditions such as “a==b” or “a<b” or “a>b” can be considered as boolean examples.

Sizin İçin Seçtik  What is for loop and how it works?

Leave a Reply

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