A

Admin • 828.43K Points
Coach

Q. What will be the output of following java code?

Code:
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");
}
}
  • (A) "==" A"=="A a==A
  • (B) true true false
  • (C) true true a==A
  • (D) Compilation Fails
  • Correct Answer - Option(C)
  • Views: 20
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.