Re: Re: Visibility

Daniel Bonniot <[email protected]> Sun, 27 Mar 2005 17:40:43 +0200
Newsgroups gmane.comp.lang.nice.general
Message-ID <[email protected]>
> Still, would it be possible to write the following?
> 
> package p1;
> class A {}
> private void foo( A a ) = ...;
> 
> package p2;
> class B extends A {}
> private int foo( A a ) = ...;
> private int foo( B b ) = ...;
> 
> That is, if the foo is module-private, then it should be possible to 
> define another foo in another module, which have nothing in common with 
> the first foo.

Yes, this will be possible.

Daniel


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click