Use "default" keyword for default visibility
markmahieu at googlemail.com
Sun Mar 15 15:49:42 PDT 2009
My first edition copy of Java in a Nutshell says that there were public,
protected, private protected, private and the default, all with distinct
2009/3/15 Joshua Bloch <jjb at google.com>
> Are you sure? The only other modifier I remember was "private protected,"
> which was quite different from package private. I believe that it was
> always the default access mode. I thought I coined the term "package
> private" for Effective Java (though it's likely that others came up with it
> independently and earlier).
> On Sat, Mar 14, 2009 at 9:13 PM, Howard Lovatt <howard.lovatt at iee.org
> > Early versions of Java had package private (I think) for this. It
> > would make the code clearer in that everything would have a keyword.
> > package could be used, since this is the scope of the default.
More information about the coin-dev