This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
hii marc, thank you for the reply. but i tried to compile your code then then it gave some errors .
Shorter.java:5: cannot find symbol symbol : variable MIN_VALUE location: class Short System.out.println(Short.MIN_VALUE); ^ Shorter.java:6: cannot find symbol symbol : variable MAX_VALUE location: class Short System.out.println(Short.MAX_VALUE); ^ 2 errors