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 / raghavendra

final key word is a modifier,and you cant perform any
modifications
finally : finally is used one type exception.suppose any
exception is generated,closed entire program suddenly,so
damage the remain information.overcome this disadvantage
introduce the finally key word.you write any information in
finally block,the information is successfully executed
finalize:this is one type of garbage collector,this key can
be used to collected unused memory

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by vector class, dictionary class, hash table class, and property class?

1085


Is double bigger than float?

914


Is there any case when finally will not be executed?

903


What do you understand by the term polymorphism?

1005


What is the association?

929


What is meant by class loader? How many types are there? When will we use them?

914


What is the best way to findout the time/memory consuming process?

975


What does a boolean method return?

1153


Is stringwriter thread safe?

940


What is jit and its use?

951


What is the effect of keeping a constructor private?

877


What causes memory leak in java?

886


Explain the JDB in depth & command line.

961


What is a Hash Table? What are the advantages of using a hash table?

1038


What is meant by object?

963