When I run the following program:
public class Test { public static void main(String[] args) { System.out.println(args); } {
Default implementation of toString method for Object is classname;@identityHashCode. I think, this is what you expect:
toString
classname;@identityHashCode
System.out.println(java.util.Arrays.toString(args));