Logical Operators (not Short-Circuit)

Logical Operators (not Short-Circuit)

The bitwise operator (& and |)is also use for the logical operators and expressions also .But because they aren\'t the short-circuit operators, they evaluate both sides of the expression,

The short-circuit operators (&& and ||) can be used only in logical (not bitwise) expressions. The bitwise operators (& and |) can be used in both logical and bitwise expressions, but are rarely used in logical expressions because they are not efficient.

By:UMANG
Date:2027-02-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related scjp1.5 chap3 Links

scjp1.5 chap3 interview questions and answers for experienced and fresher