GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Programming  >  Java
Go To First  |  Previous Question  |  Next Question 
 Java  |  Question 63 of 928    Print  
What is meant by final class, methods and variables

  
Total Answers and Comments: 3 Last Update: July 01, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 08, 2005 16:13:56   #1  
riteshyadav14@rediffmail.com        

RE: What is meant by final class, methods and variables
''' is not inherit
''' is not override
''' is constant

 
Is this answer useful? Yes | No
September 22, 2005 04:43:16   #2  
yogeshpanda Member Since: September 2005   Contribution: 50    

RE: What is meant by final class, methods and variabl...
Final as name suggest its the final value i.e its final nothing to be done over itIf say for variable-then we cant change its value.If for method-then we cant override or overlod it.Similar to it is-Finalize method-which is used as a must block to be invoked before program termination.Either their is any error or prg. terminates abnormally if finalize method is their then be sure that without doing work of finalize the prg. cant terminate.So finalize method is used to free the resources so that whatever happen to the prg. execution resouces mst be freed before termination.
 
Is this answer useful? Yes | No
July 01, 2008 21:27:49   #3  
deenaspark Member Since: November 2005   Contribution: 1    

RE: What is meant by final class, methods and variables
final class cannot be subcassed
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape