1
visibility

What will be the Output:

char ch= ‘F’;
int m=ch;
m=m+5;
System.out.println(m+ ” ” +ch);

  • ch F

  • 70 F

  • 75 F

  • F 70

int m = ch; From this statement ASCII value of ‘F’ i.e. 70 will be assigned to m
m = m + 5 = 70 + 5 = 75
System.out.println(m+ ” ” +ch); & this statement will print 75 F