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

How do you control extraneous variables?

857


What is the basic concepts of OOPS?

1129


Can you instantiate the math class in Java?

1024


What is keyset in java?

1013


What does the three dot emoji mean?

1050


What are the types of strings?

980


Which java ide is used the most?

946


Write a program to print all permutations of string?

1065


How do you use nextline in java?

901


When a byte datatype is used?

2037


What is the difference between actual and formal parameters?

893


Differentiate between stringbuffer and stringbuilder in java.

978


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

2062


What is arraylist class in java?

990


What is serialization in java?

1006