+ 1

What are access modifiers?

6th Jul 2016, 11:30 AM
Manu
2 Answers
+ 4
An access modifier is a way to declare how protected a method or variable should be. Private: Only this class can use it. Public: Everyone can use it. Protected: Only this and derived classes can use this. There are some more, but these are the most used.
6th Jul 2016, 12:53 PM
Andreas BeEm Kvist
Andreas BeEm Kvist - avatar
0
internal = private ?
7th Jul 2016, 2:08 AM
Fabiano Conrado
Fabiano Conrado - avatar