Nicolas Alvarez wrote:
>> No - the namespace of the current module. And in Java it would be the
>> same - the names are local to this class file.
>
> No. In Java it's local to the class, not to the file. You can have
> multiple classes in a single source file, as long as only one of them is
> public.
Really? Interesting... I wasn't aware Java had non-public classes.
(Although I did wonder why the hell you have to write "public" at the
start of every class.)
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|