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)
++ needs an explicit cast
Joined: Aug 17, 2000
Aug 17, 2000 18:33:00
byte b = ++7; is valid
byte b1 = 7;
byte b2 = ++b1; needs an explicit case
Joined: Nov 22, 2008
Aug 17, 2000 19:19:00
No, I think ++ and -- works fine for byte type, and I tried it, it's OK.
subject: ++ needs an explicit cast
b*=b1 vs b=b*b1
mock exam Q compile time constants
+= and ++
uranary + operator
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015