There is a public : what is the default. There is also protected (protected) and private - it is not used at all outside the zone of visibility (this is if I understood correctly)!
How is it generally used, even if an instance of the class does not have access (this needs to be clarified)?
It is not clear what all this means and how to apply it correctly?