There are three access modifiers:
public - the property or method can be accessed from everywhere. This is default.
private - the property or method can ONLY be accessed within the class.
protected - the property or method can be accessed within the class and by classes derived from that class.