0
what is the public
5 Respuestas
+ 3
public keyword is a access modifier
when you declare a method property or variable public then it can be accessed outside it otherwise they will be accessed through the class only
0
Please describe your question more detailed.
0
what is the public ? define of
0
If you mean public in a method such as:
public void methodName (){}
Then public is simply a modifier that dictates which parts of your program can access that method, class, or whatever else public is "attached" to.
0
everyone can access ur variable/methods... , it is like free :D