1

what will happen after the following code is executed?
char ch=’9′;
System.out.println(ch);

  • syntax error : possible lossy conversion from integer to char

  • 9 will be printed as integer

  • 9 will be printed as character

  • none of the above