Public (default) scope
By default, the scope is public, the value can be accessed from anywhere.
A private scope
When the scope is private, it can only be accessed from the current class or other instances of the current class.
A private package-specific scope
You can specify a package where the private value can be accessed.
Object private scope
The most restrictive scope is "object-private" scope, which only allows that value to be accessed from the same instance of the object.
The protected scope allows the value to be accessed from any subclasses of the current class.