Java void function -
this question has reply here:
what default scope of method in java? 5 answersi met function declared :
void functionname()
without prefix (private, public, protected, static).
it's not of import thing interesting me how it's work (like public or private). know it's easy test maybe have other benefits.
visit controlling access members of class:
modifier class bundle subclass world --------------------------------------------- public y y y y protected y y y n no modifier y y n n here private y n n n
when have no modifier, it'll available in class , package, not in subclasses , world.
java function void
No comments:
Post a Comment