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 difference between throw and throws?
What is the similarity between try and throw?

Answer Posted / giri

throw is used to throw an exception manually, where as
throws is used in the case of checked exceptions

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the collections api?

1116


When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?

1145


Explain listiterator and methods in listiterator?

1064


Which data type is class in java?

1060


What language is an assembler written in?

1055


Why multiple inheritance is not supported by java?

1025


What is the Scope of Static Variable?

1275


How to use Media tracker Class.

1174


Is string is a keyword in java?

1031


Write a function for palindrome and factorial and explain?

1137


what is the purpose of the runtime class?

1107


What is the difference between math floor and math round?

1107


What does the append?

1056


What is the default size of set in java?

1018


What is the difference between state-based unit testing and interaction-based unit testing?

987