READ Free Dumps For Oracle- 1z0-851
Question ID 3855 | Which statement is true? |
Option A | A. A class's finalize() method CANNOT be invoked explicitly. |
Option B | B. super.finalize() is called implicitly by any overriding finalize() method. |
Option C | C. The finalize() method for a given object is called no more than once by the garbage collector. |
Option D | D. The order in which finalize() is called on two objects is based on the order in which the two objects became finalizable. |
Correct Answer | C |
Question ID 3856 | Given: |
Option A | A. Compilation fails. |
Option B | B. An exception is thrown at runtime. |
Option C | C. The attribute id in the ItemTest object remains unchanged. |
Option D | D. The attribute id in the ItemTest object is modified to the new value. |
Correct Answer | A |