Programming Language › Operator in Java › Question #2130
Single Choice Not Set

Qwhat will be the output?
public class Test{

      public static void main(String args[]){

            System.out.print(""=="");

            System.out.print(" ");

            System.out.print("A"=="A");

            System.out.print(" ");

            System.out.print("a==A");

      }

}

ID: #2130 Operator in Java 748 views
Question Info
#2130Q ID
Not SetDifficulty
Operator in JavaTopic

Choose the Best Option

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

  • A "==" A"=="A a==A ✔ ✖
  • B true true false ✔ ✖
  • C true true a==A ✔ ✖
  • D Compilation Fails ✔ ✖
Correct Answer

Explanation

true true a==A

Share This Question

Challenge a friend or share with your study group.