|
public method
In object-oriented languages such as Smalltalk or Java, public is one of several modifiers you use to control access to a method. A public method is available to any class in any file. If you use no modifier, only classes declared in the same file have access to the method. |