Here you can find the source of toString(Object[] array)
Parameter | Description |
---|---|
array | The Object array |
public static String toString(Object[] array)
//package com.java2s; //License from project: Open Source License import java.util.Arrays; public class Main { /**/* www .ja v a 2 s . c o m*/ * Convert the given array to String. * * @param array * The Object array * @return The text in format "[a,b,c]" * * @see #toArray(String) */ public static String toString(Object[] array) { return Arrays.toString(array); } }