0

Array

int[ ] myArray = new int[5]; No es correcto decir que se instancia un array que almacena 5 enteros. Lo correcto serĂ­a decir que el array almacena 6 enteros.

15th Jan 2019, 1:00 AM
Luis Alberto Carrasco Chalco
Luis Alberto Carrasco Chalco - avatar
1 Answer
0
[Used Google Translate] int[] myArray = new int [5] You can store 5 numbers: myArray [0] = number1 myArray [1] = number2 myArray [2] = number3 my Array[3] = number4 myArray [4] = number5
15th Jan 2019, 5:56 AM
Denise Roßberg
Denise Roßberg - avatar