?
What would be the output of the following fraction of code?
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 ) ;
int Integer = 34 ;
char String = 'S' ;
System.out.print( Integer ) ;
System.out.print( String ) ;
Join the Discussion
Login to post a comment or share your explanation.
LoginException in thread "main" java.lang.Error: Unresolved compilation problem:
Type mismatch: cannot convert from String to char
String s='s';
byte b=50;
b=b*50;