Help me in solving SYNJMCQ33 problem

My issue

need a more explanation Given are a==0 and b==0 truth table 0 OR 0 =0 it means false
0 AND 0 = 0, both condition are false, why run if statement

Learning course: Learn Java
Problem Link: CodeChef: Practical coding for everyone

Its not 0||0 or 0&&0 , its a==0 ||b==0 and a==0&&b==0.
which makes it 1||1 and 1&&1 , bcoz a=0 and b=0.