What is the differences between boolean & operator and && operator?

What is the differences between boolean & operator and && operator?

When we use boolean & operator between the two operands then both the operands are evaluated. If we are using the && operator between the two operands then second operand is evaluated if the first operand is true. 

By:Jalees
Date:2015-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher