a && b if a is true then execute b a || b if a is false then execute b a & b b is executed no matter a is true orfalse