This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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.