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 is diffrance between FINALIZE() & FINALLY ?

Answer Posted / srikanth reddy

FINALIZE()is used when object is garbage collected to
cleanup the resource like io straems or database connection
before gc()method to unrefer the object which refered



finally block is also used to close the resource like jdbc
connection etc

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is string a data type in java?

1016


How can you add and remove nodes in jtree?

1036


What is variable argument in java?

999


Explain the different forms of polymorphism?

1001


What do you mean by composition in java?

1013


What is use of static in java?

1172


What is nextline method in java?

1025


What is collection sort in java?

932


Can a static class implement an interface?

1120


How do you sing an Applet ?

2459


What is concurrent hashmap and its features?

1085


What are the 4 types of research methods?

920


What is the final field modifier?

970


When should I use singleton?

1032


What is predicate in java?

1054