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 / bhavannarayana ch

To handover an Exception object to the JVM Programatically by using the "throw"

To delegate the responsibility of Exception handling to the caller by using "throws"

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 stream and buffer?

967


What is immutable in java?

1069


What ide should I use for java?

1030


What is a line break example?

1001


What are different access specifiers in java?

1017


How does multithreading take place on a computer with a single cpu?

1008


What is oop principle in java?

1167


What is ellipsis in java?

1086


What are thread priorities and importance of thread priorities in java?

1139


Which is faster string or stringbuilder?

927


Why java doesn’t support multiple inheritances?

1057


What is the difference between a checked and an unchecked exception?

996


Explain about collection interface in java?

991


Can we nested try statements in java?

1103


Can we have 2 main methods in java class?

1023