A

Admin • 833.24K Points
Coach

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

Code:
public class ConcatNull {
public static void main(String[] args) {
String str1 = "include";
String str2 = "help";
System.out.println(str1 + str2);
}
}
  • (A) includehelp
  • (B) include
  • (C) help
  • (D) None of these
  • Correct Answer - Option(A)
  • Views: 31
  • 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.