Single Choice Not Set

QWhat 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");
                }
        }
}

ID: #2141 Java Control Flow 873 views
Question Info
#2141Q ID
Not SetDifficulty
Java Control FlowTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A FALSE
  • B TRUE
  • C Compilation Error
  • D Runtime Error
Correct Answer

Explanation

Compilation Error

Share This Question

Challenge a friend or share with your study group.