When try and catch block is used ?

Answer Posted / sujanya

we are useing the try/catch for handling the
exceptions ,and then we can able to read and understand
the exception easily.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is int lol?

596


When is finally block not called?

586


What is difference between static class and normal class?

537


Why we do exception handling in java and how many types of exceptions are there?

553


What is a key in java?

506






Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

566


What is array command?

563


What is string :: npos?

583


Explain the difference between call by refrence and call by value?

568


Can you inherit from an abstract class java?

537


How is garbage collection controlled?

738


Is arraylist an object in java?

606


Can inner class extend any class?

600


What are the common uses of "this" keyword in java ?

573


What are keywords and reserved words in java?

564