Dump array content: Convert the array to a List and then convert to String
import java.util.Arrays; public class Main { public static void main(String args[]) { String s[] = {"a", "b", "c", "d"}; System.out.println(Arrays.asList(s).toString()); } }