SyntaxFix
Write A Post
Hire A Developer
Questions
There's one additional way if your array is of type char[]:
char A[] = {'a', 'b', 'c'}; System.out.println(A); // no other arguments
prints
abc