A private method and all methods declared immediately within a final class (§8.1.1.2) behave as if they are final, since it is impossible to override them.
Sigtest doesn't check such methods as equals.
public final class A {
public final void foo() {}
}
equals to:
public final class A {
public void foo() {}
}
Thanks to Paul Hendley :)
Sigtest doesn't check such methods as equals.
public final class A {
public final void foo() {}
}
equals to:
public final class A {
public void foo() {}
}
Thanks to Paul Hendley :)