Question: What does the following code print? Why? char ch1='A'; char ch2 = '1'; System.out.println(++ch1 + ch2++);

What does the following code print? Why? char ch1='A'; char ch2 = '1'; System.out.println(++ch1 + ch2++);
Step by Step Solution
There are 3 Steps involved in it
Here the code will be print B1 Because 1 ch1 mean... View full answer
Get step-by-step solutions from verified subject matter experts
