Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 374 Bytes

File metadata and controls

24 lines (21 loc) · 374 Bytes

Usage

You use a static method by writing the name of the class where it is defined followed by . and the method name.

class StuffDoer {
    static void doStuff() {
        IO.println("Doing stuff");
    }
}
~class StuffDoer {
~    static void doStuff() {
~        IO.println("Doing stuff");
~    }
~}
~
void main() {
    StuffDoer.doStuff();
}