+ 2
What is the output of this program
public class Program { public static void main(String[] args) { if(true); else System.out.println("else condition"); } }
6 Answers
+ 2
error?
+ 1
Nothing as the if condition is always true.
0
nothing would b printed
0
No output Appear But the code is correct in syntax
0
error
0
error