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 the purpose of the final in the try-catch-final

Answer Posted / srinivasa

Finally is a block where we can write the code to free up
the resources like File closing,socket obj closing .

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

1046


what is object-oriented programming in java?

1106


What does the string method compareto () do?

1114


What is the difference between private & public & friendly classes?

1113


Which is dependent variable?

954


What is a method type?

1036


Can you use this() and super() both in a constructor?

1036


Explain restrictions for using anonymous inner classes?

1143


Which is faster string or stringbuilder?

990


What is hasnext in java?

1066


What is the function of java?

1055


Why are getters and setters used?

1105


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

1200


Who found java?

1028


What do you understand by abstract classes?

1135