Java finalization

Java finalization

What is the purpose of finalization?
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.









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... main method. JDK is for java development.ADS_TO_REPLACE_3 Q 2. What... arbitrary code. Q 4. What is the garbage collection in Java? Garbage collection
Core Java Interview Question, Interview Question
Core Java Interview Question Page 14  ... that is implemented in a language other than Java. Question: Can...: What is the purpose of finalization? Answer: The purpose of finalization
How to supress displaying username and password in Java Web Start 10.21.2.11 Using JRE version 1.7.0_21-b11 Java HotSpot(TM) Client VM
How to supress displaying username and password in Java Web Start 10.21.2.11 Using JRE version 1.7.0_21-b11 Java HotSpot(TM) Client VM  I have installed Java 1.7.21 from java 1.6. I am observing username and password (match
Java Interview Questions
Java Interview Questions - Page 7   ... of finalization? Answer: The purpose of finalization is to give... to the Java runtime system.ADS_TO_REPLACE_4 Question:  What
CLASS NOT FOUND EXCEPTION
THE MESSAGE SHAWN BELOW Java Plug-in 10.5.1.255 Using JRE version 1.7.0_05-b05 Java... window f: finalize objects on finalization queue g: garbage collect h...: trigger logging q: hide console r: reload policy configuration s
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  explain technologies are used in java now days and structure java
java
java  different between java & core java
java
java   why iterator in java if we for loop
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  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   What is ?static? keyword
java
java  Does java allows multiline comments
java
java  Write a java code to print "ABABBABCABABBA
java
java  write a program in java to acess the email
java
java  send me java interview questions
java
java  what are JAVA applications development tools
Java
Java   Whether Java is Programming Language or it is SOftware
java
java  explain object oriented concept in java
java
java   difference between class and interface
Java
Java  how to draw class diagrams in java
java
java  write a java program using filenotfoundexception
java
java  why to set classpath in java
java
java  RARP implementation using java socket
java
java  sample code for RARP using java
Java
Java  how to do java in command prompt
java
java  how use java method
java
java  is java purely object oriented language
java
java  why multiple inheritance is not possible in java
java
java  hi im new to java plz suggest me how to master java[email protected]
java
java   How to set java Policy for applet using jdk 6
java
java pattern code for a given words  java pattern code for a given words pattern
java
java  dear, i want a field for date picker using java/java script
java
java  create java program for delete and update the details,without using database, just a normal java program
java
java  why methods in java raise exceptions   Have a look at the following link: Java Exceptions

Ads