When finalize method is called?
Answers were Sorted based on User's Feedback
Answer / janet
finalize() method is used just before and object is
destroyed and can be called just prior to garbage
collection.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
finalize method is used to conserve the resources before
garbage collection
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sourabh
finalizr method call just before the garbage collector
Is This Answer Correct ? | 0 Yes | 0 No |
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
When try and catch block is used ?
What is an array and a vector? How they different from each other?
Can u write constructor in abstract.If yes den when it will be invoked.
What are the different access modifiers available in java?
What is static variable and static method?
32 Answers Accenture, Prolific, Prolifics, TCS, TNH,
What is the purpose of format function?
What is the preferred size of a component in java programming?
What is a flag variable?
What is difference between local variable and global variable?
what state does a thread enter when it terminates its processing? : Java thread
What are keyboard events?