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
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?
I agree. Here's the link:
subject: byte problem
Bitwise inversion operator question
The Shift Operators
Difference between additive & assignment operator
Increment and Decrement Operators
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015