Answer Posted / rakesh
finalize() is used to release other resources
held by your object (such as database connections or
file handles)
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How can I debug the Java security exceptions and AccessControlExceptions?
How is garbage collection controlled?
How do you check if two given string are anagrams?
Can private members of a base class are inheritable justify?
How many characters is 16 bytes?
Why does java have two ways to create child threads?
Can two objects have same hashcode?
What is the purpose of void?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
What is the purpose of encapsulation?
What is local declaration?
Why pass by reference is not possible in java?
What language is an assembler written in?
What are different types of multitasking?
What is the final field modifier?