Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
I'm studying to take the SCJP2 exam and ran into an interesting (I think) question. Only sublclasses and classes in the same package are supposed to be able to call a protected method, so how does the Java Garbage Collector call finalize when the signature is "protected finalize() throws Throwable"? Replies:
|
Sponsored Links
|