Conditional operation can be performed using either short circuit Boolean operators (&&, ||) or some bit wise operators (&, |).

But it is always better to use short circuit operators because of fast processing.

For example: 
	Operation 1: condition1 && condition2
	Operation 2: condition1 & condition2

In Operation1 first compiler will check condition1 and if it is false then it will not check condition2 and give the result false.

In Operation2 compiler will check both the conditions before giving the result.