what is the output of the following program int a=10,b=0; if (a>10 && a/b==10) System.out.println ("inside the if condition");
System.out.println("outside the if condition");
Answers
Answered by
1
Answer:
Outside the if condition
Explanation:
as a is equal to 10 the condition is false.Thus else statement will be executed
Similar questions