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.
i am using a byte variable because the value to be stored is an integer between 1-50. byte x; x = 1; x = x + 2; // problems (explicit cast required) is there any other way to execute this without having to use typecasting? raj.