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 difference between throw and throws in exception?

Answer Posted / prabakar

throw:
raised the exception which are occured as a method body.

Throws:
it's the communication bridge between calling function and called function.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between heap and stack memory?

1249


What does this mean java?

1179


What is an infinite loop in java? Explain with an example.

1115


Can a final variable be null?

1060


What is the size of string?

1153


What is a double?

1156


Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls

1972


What is the use of System class?

1223


I want to print “hello” even before main is executed. How will you acheive that?

1149


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

1221


Can we convert list to set in java?

1052


Is main a function?

1129


hr interview how many minutes asking question

2092


What is gc()?

1137


Why scanner is used in java?

1135