Which of the following statements is true? Select the one correct answer. (a) If an exception is

Question:

Which of the following statements is true?

Select the one correct answer.

(a) If an exception is thrown during execution of the finalize() method of an eligible object, the exception is ignored and the object is destroyed.

(b) All objects have a finalize() method.

(c) Objects can be destroyed by explicitly calling the finalize() method.

(d) The finalize() method can be declared with any accessibility.

(e) The compiler will fail to compile code that defines an overriding finalize() method that does not explicitly call the overridden finalize() method from the superclass.

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

Step by Step Answer:

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