POV-Ray : Newsgroups : povray.off-topic : A Haskell question... : Re: A Haskell question... Server Time
11 Oct 2024 03:16:30 EDT (-0400)
  Re: A Haskell question...  
From: Orchid XP v7
Date: 4 Feb 2008 16:53:35
Message: <47a7895f$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.