Java boolean Array - initializing a boolean array in java

How to Convert boolean Array to String in Java ? The java.util.Arrays.toString(boolean[]) method returns a string representation of the contents of the specified boolean array. The string representation consists of a list of the array's elements, enclosed in square brackets ("[]"). Adjacent elements are separated by the characters ", " (a comma ... ................
................