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

Final:It cant change during execution . Cant be extended.
Finally:It is execute even if execution may (or) may not
come.It must be execute if your declare in program.Can
block finally using System.err(0);statement.
Finalize():It is a garbage collector.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of user defined functions?

931


What is a line break example?

937


Explain the difference between hashmap and hashtable in java?

886


What are inner classes or non static nested classes in java?

1119


Explain the difference between map and flatmap stream operation?

1196


What is linked hashset and its features?

992


how come we know the object is no more used in the class?

6363


Can you pass functions in java?

945


Explain constructors and types of constructors in java.

1038


What happens if main method is not static?

949


Which is faster call by value or call by reference?

865


Why for each loop is used?

960


How to sort an array from smallest to largest java?

942


What is an enumeration?

1003


Why vector is used in java?

964