A

Admin • 832.27K Points
Coach

Q. Find the output of the following code

Code:
int Integer = 24;
char String = ‘I’;
System.out.print(Integer);
System.out.print(String);
  • (A) Compile error
  • (B) Throws exception
  • (C) I
  • (D) 24 I
  • Correct Answer - Option(D)
  • Views: 22
  • 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.