What is the output of the following code?
public class Main { public static void main(String[] args) { char x = 'a'; char y = 'c'; System.out.println(++x); System.out.println(y++); System.out.println(x - y); } }
Click to view the answer
b c -2