Boolean expression performs the relational or logical operations and returns the boolean value (True/False).
In this example you will see that how the expression returns a boolean value which is either true or false. This example illustrates you how to make a boolean expression by using relational operators and how to use the returned value of the expression.
This program reads two int type value and print the message with the returned boolean value for the boolean expression in which many types of relational operators are used.
Code of the program :
Download Boolean Expression and Operation Example
In this example you will see that how the expression returns a boolean value which is either true or false. This example illustrates you how to make a boolean expression by using relational operators and how to use the returned value of the expression.
This program reads two int type value and print the message with the returned boolean value for the boolean expression in which many types of relational operators are used.
Code of the program :
import java.io.*; |
No comments:
Post a Comment