Mega Code Archive

 
Categories / Delphi / Examples
 

When is protected useful for a method or member

Question: When should a method be declared protected? Answer: It tells the users of your class that you do not want them to access those properties or methods and that they need to be careful when doing it.