Computer Science, asked by shreyasharma4393, 2 months ago

What do you mean by AND operator?​

Answers

Answered by shreya3627
0

Explanation:

"AND" or && is a logical operator which doesn't checks the second condition.

if the first condition is false then it proceed into next statement.

It checks second condition only if first one is true

for ex-

a=15

b=7

c=20

system.out.println(a<b&&b<c);

system.out.println();

then in this you can see that the a<b here an output is false where b<c here the output is true

but according to this operator it only check first condition I.e., a<b as it is false then it proceed into the next statement

hope you know it well

Similar questions