do i have this right?

public - accessible (visible) from any class anywhere in projectprivate - visible in same class(none) - package visibility (all classes in this package have access)am i missing anything here? Thanks
[226 byte] By [TripDsa] at [2007-10-2 13:38:07]
# 1
protected - accessible every package (default) is, plus in subclasses.
jverda at 2007-7-13 11:28:41 > top of Java-index,Java Essentials,New To Java...
# 2

These are called Access Modifiers;

1. Public - can be accessed by any other class. If the keyword is missing, access to the class is limited to the current package

2. Private - can be invoked only by code in the same class

3. Protected - can be invoked only by code in a subclass or the same package

4.Static - is not an instance variable

5. Synchronized - acquires a lock when it begins execution.

robwike16601a at 2007-7-13 11:28:41 > top of Java-index,Java Essentials,New To Java...
# 3
> 4.Static - is not an instance variable> > 5. Synchronized - acquires a lock when it begins> execution.These are not access modifiers.
jverda at 2007-7-13 11:28:41 > top of Java-index,Java Essentials,New To Java...
# 4
Sorry I posted wrong info...They are called Constructor Modifiers , and yes only include the first three on my list..If none is specified, the default is that only code in the same package may access that constructor.Thanks Jverd for correcting me..
robwike16601a at 2007-7-13 11:28:41 > top of Java-index,Java Essentials,New To Java...
# 5
thankey
TripDsa at 2007-7-13 11:28:41 > top of Java-index,Java Essentials,New To Java...