Posts Tagged ‘OO’
To which is protected class-level variable available to?
Answer: It is available to any sub-class (a class inheriting this class).
Are private class-levl variables inherited?
Answer: Yes, but those are not accessible. Although those are not visible or accessible via the class interface, yet those are inherited.
Describe the accessiblilty modifier "protected internal"?
Answer: It is available to classes that are within the same assembly and derived from specific base class.