R

Ram Sharma • 193.84K Points
Coach

Q. What is the output of the Java program?

Code:
String name="dino";
if(name == "dino")
	System.out.print("DINO");
System.out.println("GOOD");	
  • (A) DINO GOOD
  • (B) DINO
  • (C) GOOD
  • (D) Compiler error

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.