What is the difference between private and protected.
Resposta da entrevista
Sigiloso
15 de ago. de 2010
Private variables, are variables that are visible only to the class to which they belong. Whereas Protected are visible both class to which the belong as well as to its subclasses.