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 getclass () getname () in java?

1091


How is abstraction implemented in java ?

918


Write a code to show a static variable?

1030


How does the java compiler work?

909


What's the default access specifier for variables and methods of a class?

1049


What is a singleton factory?

904


Can we override private method?

1031


Can we use a switch statement with strings?

969


How many types of interfaces are there?

983


What are the escape sequences in java?

978


Why Java doesn’t support multiple inheritance?

987


What is meant by binding in rmi?

955


What is an object in java?

968


What is stringwriter?

899


Can we able to pass objects as an arguments in java?

963