Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What are access modifiers for a class?

This is a common question for all programmers. This is the key startup for the code.

user-image
Question ajoutée par Ubaid sayeed Mohd abdul sayeed , Senior Programmer , Moksha solutions
Date de publication: 2016/09/23
hassan  assi
par hassan assi , Android/React Native Developer , Apps2you

used for controlling the access of a class, methods ,varaibles or constructor .

It could be private which means only visible to the class

or public which can be accessed everywhere 

or protected which can be accessed  by any subclass in any package or in any class within the package of the protected class

More Questions Like This