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 relationship between a method?s throws clause
and the exceptions that can be thrown during the method?s
execution?

Answer Posted / chinu

Throws is used in the method definition to mark what all
exceptions the method can throw, so that the code that
accesses the method can give the corresponding catch block
for that exception.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the significance of class loaders in bootstrap?

1014


What exceptions occur during serialization?

1146


Is string is a data type in java?

1117


Can we cast any other type to boolean type with type casting?

1002


What are the three parts of a lambda expression? What is the type of lambda expression?

1083


Why bytecode is called bytecode?

1306


Does hashset allow duplicates in java?

1181


Why is string builder not thread safe?

1119


What is null object in java?

1059


Explain differences between checked and unchecked exceptions in java?

1114


Write a program in java to find the maximum and minimum value node from a circular linked list.

1149


What is the difference between processes and threads?

1111


Why do we use return statement?

1104


What are the java ide’s?

1092


Explain wrapper classes in java?

1059