Nuacht

When working with arrays, the Arrays class can be particularly helpful. In this posting, I’ll look at how this class simplifies the copying of arrays and providing String representation of arrays.
The Arrays class has been around since JDK 1.2, but the methods for conveniently and simply converting arrays to a readable String including relevant array content without using Arrays.asList ...
As strings (array of chars right?) need to have \0 at the end to signify the end of the string I add one to whatever the length of the string that I want to store is.