Q. What is the output of System.out.println(‘Z’ – ‘A’);?
Solution:
‘Z’ (90) – ‘A’ (65) = 25, calculated as the difference in ASCII values.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
‘Z’ (90) – ‘A’ (65) = 25, calculated as the difference in ASCII values.
Strengthen Your Practice with our comprehensive question bank.