public final class ClassWithDifferentMethodVisibilities {

    public void publicMethod() {
    }

    void defaultMethod() {
    }

    protected void protectedMethod() {
    }

    private void privateMethod() {
    }
}
