Logical Operator

Logical Operator

Logical operator basically 6 are there which is following here : 
  1. &
  2. |
  3. ^
  4. !
  5. &&
  6. ||
 
These are operators are logical operators.Its work with two expression that must resolve the boolean value.The && and & opretor retuns true only if both operands are true.the || and | opratiors are return true if either or both operands are true,

By:umang
Date:2026-03-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related scjp1.5 GEN Links

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