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?

Answer Posted / swapna kumari arava

By Using throw , we can create our own exceptions or user
defined exceptions and we can thorw , where as throws
defines the list of exceptions to be thown by the method.

Is This Answer Correct ?    16 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is json parser in java?

1099


What does the ‘static’ keyword mean? Is it possible to override private or static method in java?

1032


Can a java program have 2 main methods?

1094


Why is singleton class used?

1080


How can we pass argument to a function by reference instead of pass by value?

1156


What’s the difference between constructors and other methods?

1046


What is the requirement of thread in java?

1101


How java enabled high performance?

1088


Is minecraft 1.15 out?

1011


Where is core java used?

1052


What are the string methods in java?

1131


What are different types of constants?

1115


What is comparator in java?

1063


Name four container classes.

1043


Can a class be declared as static?

1217