File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Programmer Certification (SCJP/OCPJP)
Joined: Oct 10, 2000
Nov 16, 2000 21:02:00
i am using a byte variable because the value to be stored is an integer between 1-50.
x = 1;
x = x + 2; // problems (explicit cast required)
is there any other way to execute this without having to use typecasting?
It is sorta covered in the
JavaRanch Style Guide
subject: byte problem
Difference between additive & assignment operator
Increment and Decrement Operators
The Shift Operators
Bitwise inversion operator question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014