Kotlinlearncs.online LogoJava
Return to List

Homework: Array Basics

Created By: Geoffrey Challen
/ Version: 2020.6.0

Let's get some practice with basic array usage. Below, you have two tasks. First, declare an array of ints named numbers and initialize it to contain the values 0, 8, 9, 4, and 5, in that order. Second, given an existing array of doubles named values, print its first value and also change its third value to 1.25.

Related Lessons

Stuck? You may find these lessons helpful: