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 is the biggest integer?

1107


What is difference between jdk,jre and jvm?

1185


Is java 1.7 the same as java 7?

1102


Explain about field hiding in java?

997


What are filterstreams?

1116


What is the main purpose of serialization in java?

1089


Can we override private method?

1129


Why local variables are stored in stack?

1041


Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls

1969


Can we restart a thread already started in java?

1146


What is the base class for error and exception?

1038


Explain about automatic type conversion in java?

1090


What is the main functionality of the remote reference layer?

2050


Explain try and catch keywords in java?

1277


How can we pass argument to a function by reference instead of pass by value?

1159