Difference between public/protected in abstract class?

  • Thread starter Thread starter Guest
  • Start date Start date
gcrasher,

No, not at all, the visibility rules still apply.

What is the scenario that you see which gives you this idea?
 
gcrasher said:
Seems like they would mean the same thing. Am I right?

No. Protected methods can only be called within the inheritance
hierarchy. Public methods can be called from anywhere.
 
Back
Top