...
Code Block | ||
---|---|---|
| ||
final class SubClass extends Base { protected void finalize() { // ... } } |
It is recommended but not mandatory to limit the accessibility of a subclass's constructor to that of the superclass' constructor.
Exceptions
EX1: According to Sun's Secure Coding Guidelines [[SCG 07]]:
...