Single Choice Not Set

QWhat would be the output of the following fraction of code?
int Integer = 34 ;
char String = 'S' ;
System.out.print( Integer ) ;
System.out.print( String ) ;

ID: #2013 Java Data Types and Variables - MCQ 1,519 views
Question Info
#2013Q ID
Not SetDifficulty
Java Data Types and Variables - MCQTopic

Choose the Best Option

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

  • A Does not compile as Integer and String are API class names.
  • B Throws exception.
  • C 34
  • D 34 S
Correct Answer

Explanation

34 S

Share This Question

Challenge a friend or share with your study group.