Java Tutorials: Episode 3 - Arrays and Arithmetic

preview_player
Показать описание
Third episode of my programming series dedicated to teaching you Java! This episode is dedicated to teaching you about Arrays in Java, as well as some added Arithmetic and Unary operators. Please enjoy, subscribe, like, and favorite if you enjoyed the lesson. And always, leave a comment and tell me how you feel.
Рекомендации по теме
Комментарии
Автор

Remember, for floats, you need to declare them as such: 79f/9f <--- or so I believe. Thanks for the tutorials.

PotatoPnut
Автор

12:45 Both numbers are integers, so when the compiler calculates the division of 79 and 9 it will round up the answer (8.7778) down to 8 and then cast it to whatever the variable is, I think, or that's what I know from c. Maybe add an f next to 79? I guess that should work..

aLeXxXtto
join shbcf.ru