+ 1
Which is correct public class xxx or class xxx
Plz let me know which one used
2 Respostas
+ 2
It is depend on the use of class
If your class is going to used by all the packages and outside package then it must be public
Else
If it is going to use only in current packer then it is in form
Class xxx
0
Xxx