V
V
vopross2016-12-27 19:16:03
Java
vopross, 2016-12-27 19:16:03

How to view array values?

How to view array values ​​in java similar to var_dump() in php?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2016-12-27
@aol-nnov

Arrays.toString() / Arrays.deepToString()
https://docs.oracle.com/javase/7/docs/api/java/uti...
but in general, you should use a debugger, not println!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question