Vidyalelo
Java Programming · Q43

Data Types and Variables

Programming · Java Programming · question 43

Q43

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

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

Answer: Option E

Solution

Answer: Option E
No explanation is given for this question Let's Discuss on Board