I'm currently writing a lot of little code snippets as part of my study for
SCJP 5. Many are correct. Many are incorrect, but I want to see how each of them behaves. I'm often surprized to find snippets that work, when I'm sure that they wouldn't. Here is one of them.
Oddly enough, this compiles fine and runs fine and gives the following output:
a
b
c
d
It behaves just as if it was
String[][] args.
Does anyone have a good explanation of what's going on here? Why does it even compile?
Thanks,
Josh
[ January 15, 2006: Message edited by: Joshua Smith ]