Originally posted by Alfred Kemety:
Also these 2 classes can't be declared in the same file, since they're both declared public.
I would have said the same thing, by Simon Roberts hit me with a stunner the other day; I'm still not sure I even heard him right, but he insists that nothing in the spec prevents an implementation of the compiler from allowing two public classes in the same file.
This is something I have been repeating the opposite of for years, so I have no idea what Simon meant unless I misunderstood him, but when things cool down for him I'll inquire. Meantime, I'm in search of a compiler that does in fact allow two public classes in one text file.