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 "finally" keyword?

Answer Posted / pathan muzafar

Finally is a keyword which is used execute the blocks after try and catch blocks even if exception occured or not in both try and catch block.

Note: Here,Block means collection of statements(variables,methods etc)....
Exception means Run time error during execution

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can java object be locked down for exclusive use by a given thread?

948


Can an anonymous class be declared as implementing an interface and extending a class in java programming?

1164


What is java virtual machine and how it is considered in context of java’s platform independent feature?

1106


What is the difference between overriding and overloading in OOPS.

1073


How do you implement singleton class?

926


Differentiate between the constructors and methods in java?

892


What is boolean logic?

968


What does int [] mean in java?

973


What super () does in java?

857


What does arrays sort do in java?

960


Can a method be overloaded based on different return type but same argument type?

907


What is the primary benefit of encapsulation?

1009


Why char array is favored over string for the storage of passwords?

998


Is hashmap thread safe?

934


How do you reverse a string in java without using string buffer?

1039