About Question enthuware.ocpjp.v17.2.3155 :
Posted: Fri Dec 15, 2023 11:02 am
The question was:
Are we expected to know int values for characters for the exam?
Code: Select all
char a = 'a', b = 98; //1
int a1 = a; //2
int b1 = (int) b; //3
System.out.println((char)a1+(char)b1); //4