Comprehensive Java Tutorial 8: Integer Datatypes

preview_player
Показать описание
This Java tutorial covers an introduction to Java Datatypes, Integer Datatypes and variables. Specifically, we cover byte, short, int and long types and demonstrate them in a program.
Рекомендации по теме
Комментарии
Автор

8:45 => 4+15 = 19 which is still a byte so how come java returns an int here ? Why do i have to cast it back to a byte?

birkhansonkan
welcome to shbcf.ru