And there is one more thing that resembles arrays in C and arrays in Java, if you think you copy that array, you didn't actually create a copy, you just created a reference to the very same thing in memory.
Y aquí hay... algo más que se parece a los arreglos de C... y de Java: si pensó que copió ese arreglo... no...
Alte rezultate
There are a number of ways to declare an array in Java.
This again is something that you can't do with regular arrays and C or in Java.
De nuevo, esto es algo que no podemos hacer con matrices en C or Java.
In Java, arrays are objects themselves and store references to objects, making assignment and use easier (but subtly different) than how arrays are employed in other programming languages.
En Java, los arreglos son objetos en sí mismos y guardan referencias a objetos, haciendo asignaciones y un uso más fácil (pero sutilmente diferente) que cómo los arreglos son empleados en otros lenguajes de programación.
In that sense, the array is the Java language's most utilitarian collection.
En ese sentido, la matriz es la colección más utilitaria del lenguaje Java.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple