Boolean

Boolean x || Boolean y

Returns true if x is true or y is true.

Examples

Boolean x && Boolean y

Returns true if x is true and y is true.

Examples

! Boolean x

Returns true if x is false.

Example

The return value of the following statement is def.

Integer s=4, d=8;
Integer f=6;
if ( ! ( f>s ) )
return  "abc"
else
return "def"