yes, sridhar is correct if you use the exact implementation of the main method as suggested by Dinesh. BUT if your main method uses the name "args" for the arguments passed to main then you won't have a local reference that is actually an array and when you call toString() on it will print out, as sridhar mentioned, the classname@hashcode value.
Another option is to change
to
but I think this is besides the point. The confusion was something more basic which was what I was trying to point out, there is no need to be so negative. If you have nothing to add don't. If you want to point out a mistake be more elaborate so that people can learn from this
thread.