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

What is the difference between actual and formal parameters?

948


What is %02d?

1088


Can we have multiple public classes in a java source file?

1200


What is the main functionality of the remote reference layer?

2001


What is the formula to calculate percentage?

1019


What is the SimpleTimeZone class?

2286


What is meant by inheritance and what are its advantages?

1109


What is final class?

1032


Why we cannot override static method?

1071


What is the difference between logical data independence and physical data independence?

1043


How to call one constructor from the other constructor ?

1070


Why doesn't the java library use a randomized version of quicksort?

997


What is regex java?

1115


List some features of the abstract class.

1071


Can you make a constructor final?

1046