Which method headers will result in a correct implementation of a finalizer for the following class? Select

Question:

Which method headers will result in a correct implementation of a finalizer for the following class?

image text in transcribed

Select the two correct answers.

(a) void finalize() throws Throwable

(b) void finalize() throws Exception

(c) void finalize()

(d) protected void finalize() throws Throwable

(e) protected void finalize() throws Exception

(f) protected void finalize()

(g) public void finalize() throws Throwable (h) public void finalize() throws Exception (i) public void finalize()

(j) private void finalize() throws Throwable (k) private void finalize() throws Exception (l) private void finalize()

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: