Which of the following statements is true? Select the one correct answer. (a) The compiler will fail

Question:

Which of the following statements is true?

Select the one correct answer.

(a) The compiler will fail to compile code that explicitly tries to call the finalize() method.

(b) The finalize() method can be overridden, but it must be declared with protected accessibility.

(c) An overriding finalize() method in any class can always throw checked exceptions.

(d) The finalize() method can be overloaded.

(e) The body of the finalize() method can access only other objects that are eligible for garbage collection.

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

Step by Step Answer:

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