A
A
Arti-Jack2016-10-02 22:59:47
Java
Arti-Jack, 2016-10-02 22:59:47

Features of the architecture of the structure of arrays?

Never, perhaps, thought about the "nature" of arrays in Java.
I recently learned that arrays are objects.
This is easy to check:

int[] v1 = null; // раз v1 может принимать значения null - то это переменная экземпляра

And when outputting to the console, we get:
int[] v1 = { 1, 2, 3, 4};
System.out.println(v1); // [[email protected]

Where, as I understand it, I is the name of the class, and @404b9385is the hashcode.
But the question is:
Where can I find a class that describes arrays?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question