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 the use of beaninfo?

1047


What is assembly language?

982


What is a wrapper method?

1105


explain the difference between jdk and jvm?

1000


What are the basic control structures?

996


How to convert string to byte array and vice versa?

1091


Have you ever used hashtable and dictionary?

1020


Does windows 10 need java?

1053


How does system arraycopy work in java?

1137


What two classes are used to read data only?

1101


Difference between association, composition and aggregation?

994


What is the inheritance?

976


Convert a BST into a DLL and DLL to BST in place.

1116


Is vector thread safe in java?

1060


Should a main method be compulsorily declared in all java classes?

1071