What does “public” means?

Is a modifier and they regulate from where you can access to that part of code.

Public Protected Private
Class Yes Yes Yes
SubClass Yes Yes No
Package Yes Yes No
World Yes No No
Advertisements

Create a website or blog at WordPress.com

Up ↑