finalize() method?

Answer Posted / harika.thota001@gmail.com

Before an object is garbage collected, the runtime system calls its finalize() method. The intent is for finalize() to release system resources such as open files or open sockets before getting collected.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why char array is favored over string for the storage of passwords?

804


What is data string?

718


What do you mean by order of precedence and associativity?

751


What is immutable class in java?

727


What are thread groups?

781


What is a Null object?

1245


How can an exception be thrown manually by a programmer?

767


Does java vector allow null?

747


How do I get 64 bit java?

734


What is an example of procedure?

757


Does treeset use compareto?

767


What is the maximum size of byte array in java?

793


Can we have try block without catch block?

820


Give me example of derived data types.

864


What is int lol?

890