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

Throw keyword can be used by a program to throw exceptions
explicitly.the execution of the current block stops
immediately after the throw statement.
A method should declare that it can cause an exception and
expects its caller handle or re-throw the exception.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by soft reference?

1098


What is meant by the value of a variable?

983


Which language is java?

1021


Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.

2050


What occurs when an object is constructed?

1062


What are the high-level thread states in java programming?

1106


what is the swingutilities.invokelater(runnable) method for? : Java thread

1080


What is difference in between java class and bean?

1159


Why should we use singleton pattern instead of static class?

970


How do you use spaces in java?

1037


What are the legal parameters?

1060


What is the difference between an argument and a parameter?

1036


What is serialization in java?

1108


Is java based on c?

1045


Can we inherit a class with private constructor?

1177