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

throw is used for to through exception system explicitly,and
throws is u sed for to throws exception means throws
ioexception and servletexception and etc.........

Is This Answer Correct ?    41 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a native method in java programming?

1001


What restrictions are placed on method overloading in java programming?

1002


How do you sort data in java?

902


Give an example of use of pointers in java class.

964


Why lambda expression is used in java?

996


What does int argc char * argv [] mean?

931


Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.

996


What is assembly used for?

965


How can you avoid serialization in child class if the base class is implementing the serializable interface?

1022


What do you mean by byte code?

955


What is the purpose of a transient variable?

1000


Why are global variables used?

947


What are parsing rules?

935


What is a line break example?

937


Why is stringbuffer called mutable?

933