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

The finally is Java keyword that is used to defined a block
that is always executed in a try-catch-finally statement.
try{
int x=10/2;
}
finally{
system.out.println("i am from finally");
}
here compiler will not compliant.why?even though x=10/2,x=10/0.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can java cast null?

1038


What is immutable in java?

1063


How many bytes is a string in java?

994


What is boolean logic?

1025


What is balanced tree in java?

971


what do you understand by synchronization? : Java thread

990


Can a final method be overloaded?

944


What is difference between hashset and hashmap in java?

1016


What do you mean by chromounits in java8?

957


Why is static used?

1026


How to run a JAR file through command prompt?

1281


What is the benefit of singleton pattern?

985


What is java regex?

1009


What is a vararg?

1035


What are mutable classes?

1057