Learn Java - Exercise 01x - Creating Arrays & Accessing Elements

preview_player
Показать описание

Learn how to program in java with our online tutorial. We will cover variables, loops, if else branching, arrays, strings, objects, classes, object oriented programming, conditional statements, and more.

Here we will learn how to create an array and use the array elements in calculations.
Рекомендации по теме
Комментарии
Автор

You could also do: int years married [ ] = new int {4, 3, 10, 12, 6}; right?

justsaybobby
welcome to shbcf.ru