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

Answer Posted / archana

throws is to handle exception by the system itself
whereas throw used by the user to handled the exception

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is thread? : Java thread

994


What is use of valueof () in java?

1061


How to perform binary search in java?

1007


When should you make a function static?

995


Lowest Common ancestor in a Binary Search Tree and Binary Tree.

939


Can anonymous class have constructor?

1030


What is loop in java?

1007


Is an empty arraylist null?

1107


Can we use both this () and super () in a constructor?

1012


What is a singleton class? Give a practical example of its usage.

1112


How do you check if a string contains only numeric digits?

1130


What is the requirement of thread in java?

1065


What are nested classes in java?

1128


Is java a prime method?

994


Implement two stacks using a single array.

1073