+ 5

Can't we do the calculation in "byte"? (How to get the answer in byte??)

byte a=10; byte b=5; byte c=a+b; System.out.print (c); Here...... the output is "ERROR"

2nd Jul 2020, 2:35 PM
K.Suhanya
K.Suhanya - avatar
3 Respuestas
2nd Jul 2020, 3:22 PM
Jesús Roberto GR 🇲🇽
Jesús Roberto GR 🇲🇽 - avatar
+ 4
thank you guys😊
3rd Jul 2020, 12:39 AM
K.Suhanya
K.Suhanya - avatar