0

why cant we operate a byte variable with a constant?

eg; // i'm using java byte b=5; b=b*2; //this shows error b=byte (b*2); //it won't show error b*=2; //this also correct statement but how??

1st Feb 2017, 11:16 PM
puneet pal
puneet pal - avatar
1 Antwort
0
That's odd. What error message did you get?
1st Feb 2017, 11:30 PM
DaemonThread
DaemonThread - avatar