Java Interview Question For Freshers. -------------------------------------------------- What is the difference between final, finally and finalize?. -------------------------------------------------------------------------- final is a keyword which is used to make a variable or a method or a class as “unchangeable“. finally is a block which is used for exception handling along with try and catch blocks. finalize() method is a protected method of java.lang.Object class. It is inherited to every class you create in java. This method is called by garbage collector thread before an object is removed from the memory. Read the full article at : javaconceptoftheday/difference-between-final-finally-and-finalize-in-java/
Posted on: Fri, 02 Jan 2015 05:24:21 +0000
Trending Topics
Recently Viewed Topics
© 2015