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 “try and catch” in java

Answer Posted / reshma

TRY AND CATCH BLOCKS ARE USED FOR EXCEPTION HANDLING SOMETIMES PROGRAMMER GIVE WRONG INPUT THEN EXCEPTION OCCCUR,IN TRY BLOCK WE LOGIC OF PROGRAM IS WRITTEN WHERE EXCEPTION OCCURED THAT EXCEPTOINS ARE THROWN TO CATCH BLOCK.CATCH BLOCK CATCHES THE EXCEPTION THROWN BY TRY BLOCK.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the final access modifier in java?

1015


Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?

996


Why is java architectural neutral?

1068


How many tetrahedral voids are there in bcc?

1021


Is null a string in java?

1015


How many bytes is a unicode character?

963


What is an array length?

866


Does treeset use compareto?

914


What does .equals do in java?

1021


What are scalar data types?

997


Which class represents the socket that both the client and server use to communicate with each other?

980


How is final different from finally and finalize?

871


When should I use stringbuffer?

965


What is a parameter in a function?

958


What is super keyword explain with example?

1225