1.
Q6: What is the output of the following code?
if (false)
System.out.println("it is true");
else
System.out.println("it is false");
- it is true
- it is false
- There is no output because a compiler error occurs
- There is no output because an exception occurs