[202] in java-interest

home help back first fref pref prev next nref lref last post

Re: non-public classes in packages

daemon@ATHENA.MIT.EDU (Eduardo Pelegri-Llopart)
Tue Jun 6 18:18:02 1995

Date: Tue, 6 Jun 1995 11:35:53 -0700
From: pelegri@calterra.Eng.Sun.COM (Eduardo Pelegri-Llopart)
To: java-interest@java.Eng.Sun.COM

| avh explains that private/public/protected for classes/methods works
| like in C++: they affect accesability, not visibility.

OK; not my prefered semantics, but there is an argument for it.

| Then he says...
|
| private classes/methods/variables should not pollute the name space.

I don't get this.  It *is* polluting my name space.  I cannot use the
name of a method that is private because I might create an illegal ambiguity.

Am I missing something?

	- eduardo

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post