private - only available to be accessed within the class that defines them.
private
protected - accessible in the class that defines them and in other classes which inherit from that class.
protected
548k questions
547k answers
4 comments
86.3k users