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
What is null data type?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
How many types of array are there?
How many bytes is a string java?
What are the differences between path and classpath variables?
what is interface in java? Explain
How do you use nextline in java?
What is the purpose of using javap?
What is the difference between conversation & casting?
What is string made of?
What do you mean by order of precedence and associativity?
What is difference between path and classpath in java?
what are abstract functions?
What access modifiers can be used for variables?
Which sorting is best in java?