This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Assume rest of code is correct & this is in a valid main(). char c=(char)-1; System.out.println(c);//This prints ? (a question mark) char d=(char)(Integer.MIN_VALUE); System.out.println(d);//This causes the program to exit without any error or Exception .WHY?? Although this is not directly related to certification,I am plain curious. Can anybody help?