Sail E0 Webinar
Question
What will be the output?
public class Test{
public static void main(String[] args){
int x=10, y=0;
if(x && y){
System.out.print("TRUE");
}
else{
System.out.print("FALSE");
}
}
}
Options:
A .  FALSE
B .  TRUE
C .  Compilation Error
D .  Runtime Error
Answer: Option C

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers