Java finalization

Ads

 
 

Share on Google+Share on Google+

samar
Java finalization
1 Answer(s)      7 years ago
Posted in : Java Interview Questions
What is the purpose of finalization?
Ads
View Answers

October 27, 2010 at 11:30 AM


Hi,

Here is the answer opf your question,

Java language is an object oriented language that is also platform independent. There are different methods for the finalization in java. It's not only Java technology helps you to use the finalize method to do the required cleanup before the garbage collector eliminates the object from memory. This method is known as the garbage collector on an object when garbage determines that there are no additional objects. It is hereditary by all classes. It's the subclass which overrides the finalize method to destroy of system resources and perform other clean up functions.

Thanks.


Ads









Related Tutorials/Questions & Answers:
Java finalization
Java finalization  What is the purpose of finalization
finalization in java
finalization in java  What is the purpose of finalization
Advertisements
Java Exception
Java Exception  What is the purpose of finalization
Servlet Finalization
Servlet Finalization In this tutorial you will learn about what happens when a servlet is going to be finalize. A servlet container can calls the destroy() method of Servlet interface when it found that the servlet should be deleted
java - Java Interview Questions
then add these Object in the JVM's finalization queue.Unreachable Object are retained... information : http://www.roseindia.net/java/example/java/util/ Thanks
Core java Interview Questions
to software developers going for Java developer Interviews. Q 1. Difference... development. Q 2. What is an interface in java? Interface in Java is the collection.... Q 3. What is the Purpose of finalization? Finalization() method cleans up
Core Java Interview Question, Interview Question
Core Java Interview Question Page 14  ... that is implemented in a language other than Java. Question: Can a for statement loop... of finalization? Answer: The purpose of finalization is to give an unreachable
java
java  diff bt core java and java
java
java  what is java
JAVA
JAVA  how the name came for java language as "JAVA
java
java   why iterator in java if we for loop
java
java  explain technologies are used in java now days and structure java
java
java  different between java & core java
Java
Java   Whether Java is pure object oriented Language
java
java  is java open source
java
java  what is java reflection
java
java   in java does not pointers concept but what is nullpointers in java?   nullpointer is a runtime Exception
java
what is the size of array in java ?  what is the size of array in java ? what is the mean of finalize in java
java
java   What is ?static? keyword
java
java  RARP implementation using java socket
java
java  sample code for RARP using java
java
java  Does java allows multiline comments
Java
Java  how to do java in command prompt
java
java  give a simple example for inheritance in java
java
java  give a simple example for inheritance in java
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java  why to set classpath in java
java
java  Write a java code to print "ABABBABCABABBA
java
java  write a program in java to acess the email

Ads

 
Advertisement null

Ads