Which of the following statements is true? Select the one correct answer. (a) Objects can be explicitly

Question:

Which of the following statements is true?

Select the one correct answer.

(a) Objects can be explicitly destroyed using the keyword delete.

(b) An object will be garbage collected immediately after it becomes unreachable.

(c) If object obj1 is accessible from object obj2, and object obj2 is accessible from obj1, then obj1 and obj2 are not eligible for garbage collection.

(d) Once an object has become eligible for garbage collection, it will remain eligible until it is destroyed.

(e) If object obj1 can access object obj2 that is eligible for garbage collection, then obj1 is also 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: