Modifiers

suggest change
class ExampleClass {
    // Access modifiers first (don't do for instance "static public")
    public static void main(String[] args) {
        System.out.println("Hello World");
    }
}

interface ExampleInterface {
    // Avoid 'public' and 'abstract' since they are implicit
    void sayHello();
}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents