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...

Explain final, finalize() and finally?

Answer Posted / radhika

Final keyword can be used for class, method and variables.
Afinal method can't be overriden.
Finalize() is used just before an object is destroyed or
garbage collected.
Finally keyword used in Exception handling, creates a block
of code that will be exceuted after a try and catch block.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we convert list to set in java?

1052


How can you handle java exceptions?

1077


How do you identify if jvm is 32-bit or 64-bit from java program?

1011


Why is inheritance used in java?

1176


What is the difference between Java and C++?

1261


If a variable is declared as private, where may the variable be accessed?

1113


What is data object example?

1078


What does three dots mean in java?

1199


What is functional interface in java example?

1053


Is java 11 paid version?

1049


What is meant by singleton class?

1083


Which collection is sorted in java?

1085


What is lambda expression in java?

1111


What are voids?

1020


What is composition in java?

1343