Can an object?s finalize() method be invoked while it is
reachable?
Answer Posted / janet
While the object is still reachable, an object?s finalize()
method cannot be invoked by the garbage collector.
However, an object?s finalize() method may be invoked by
other objects.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
when to use ArrayList and when to use HashMap in webApplication.
What is main difference between variable and constant?
What is the use of runnable interface?
Can arraylist hold different types java?
Difference between predicate, supplier and consumer ?
When a byte datatype is used?
What is the difference between class forname and new?
how to write a program for sending mails between client and server
Can you access non static variable in static context?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
What is boolean law?
How do you remove all elements from an arraylist in java?
Why we used break and continue statement in java?
What is the difference between and ?
What are the types of exceptions?