A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
why more than one public class not allowed in a source file?
Joined: Jan 15, 2009
Jan 23, 2009 21:40:03
more than one public classes are not allowed?
There should be some reason and I hope somebody will explain me.
Thanks in advance.
Joined: Dec 17, 2003
Jan 23, 2009 21:52:51
I asked Mr. Google
Why only one public class in a Java file
and he was able to point me a fine
that explains that doing such was a design decision to make the compiler more efficient.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: why more than one public class not allowed in a source file?
Two classes defined in the same source file ??
Java 1.5 test Exercise 5-4 Sun Certified Programmer for Java 5
corrections in marcus green test1
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014