Java Reference

Java Reference Home | Smart Soft Home

Ampersand Ampersand &&

Description

AND used for boolean expressions.

Example

if(x>5 && y>5) System.out.println("x and y are both greater than 5");