Consider the following code: If(num<=0) If(num<0) System.out.println(“Number is negative”) Else System.out.ptintln(“Number is positive”); If num=0, then output will become
Reveal answer
Fill a bubble to check yourself
Consider the following code: If(num<=0) If(num<0) System.out.println(“Number is negative”) Else System.out.ptintln(“Number is positive”); If num=0, then output will become