Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what are the differences between final,finally,finalize
methods?

Answer Posted / ambika

final is a keyword.its constant.it cant be changed from its
initiated value.

finally() method used exception handling concept.finally()
block will execute whether or not try block can be execute.
its used to close a file.

finalize is used when an object is just before deleted,it
can be used in garbage collection.

Is This Answer Correct ?    96 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does percent mean in java?

965


How a string is stored in memory?

954


Can a constructor call the constructor of parent class?

973


What is java beans?

937


Why object class is super class for every class in java?

962


what is synchronization? : Java thread

967


What is singleton pattern?

1038


Why does java not allow multiple public classes in a java file ?

4375


What is the difference between serializable and externalizable interfaces?

1024


Can we overload the constructors?

926


How do you implement singleton class?

925


What is meant by string is immutable?

999


Can a singleton class be inherited?

906


What are reference variables in java?

1065


Why java is said to be pass-by-value ?

980