0
Public Class
What happen if i dont declare the class? I mean, if i write class MyClass without "public" Thanks!
2 Respuestas
+ 1
In order for you to under this method correctly you would have to do some research on your own as well. I can start you off by saying they have to do with what is visible to the Class, other Class, Packages.
For example:
Public - Visible to the world.
Protected - Visible to the package
Private - Visible to only that class
YouTube: https://www.youtube.com/watch?v=aRQRV2PMHtk
0
Thx a lot!