1.

(i) int res = ‘A’; What is the value of res? (ii) Name the package that contains wrapper classes. 

Answer»

 (i) Value of res is 65 because the ASCII value of character 'A' in decimal is 65

(ii) java. lang



Discussion

No Comment Found

Related InterviewSolutions