posted 17 years ago
Hi everyone,
I was playing around with declaring inner classes and this particular syntax confuses me.
For a simple inner class to declared in the main() of the outer class we use:
where as if we have to define an array of these inner classes in the main() of the outer class, all we need to do is:
This difference in syntax confuses me. Any ideas on why it is so?
Thanks,
Meher