Answer the question
In order to leave comments, you need to log in
How to enter arrays on the console humanly?
Hey!
there is an ordinary array: int[] array = {0,1,2,3};
if you enter on the console then output as a hash,
you have to use Array.toString
questions: 1. Why is the output displayed as a hash?
2. Why use Array.toString?
(in case of a two dimensional array Array.deepToString?)
Answer the question
In order to leave comments, you need to log in
Why is the output displayed as a hash?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question