Boolean in java
Java has a primitive datatype, called boolean, for logical values. It can have only one of two possible values,true or false. After any conditional operations, it returns true or false.Example: Output Literals in java Integer Literals: Integers are probably the most commonly used type. Any whole number value is an integer literal. Examples are 1, […]