Answer Posted / ravikiran
try is used to enclose the code which is supposed to throw
an exception
catch is used to catch the exception which is raised with
in the try block
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the benefit of lambda expressions?
Does A Class Inherit The Constructors Of Its Superclass?
What is off heap memory?
How objects are stored in java?
What is proper subset?
What is lossy conversion in java?
What is purpose of find feature?
How do you create a first line indent?
Why set is used in java?
What is the meaning of 3 dots in java?
What do you mean by garbage collection used in java?
What steps are taken when the OS shifts from one-thread execution to another?
What is JFC?
What are the different data types in java?
Which number is denoted by leading zero in java?