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
Where we write javascript code in html page?
What is final method?
does java support pointers?
Why you should not use singleton?
How do you create a method in java?
What is the biggest integer?
Why does java not support pointers?
What are the 7 types of characters?
Can we declare register variable as global?
What is memory leak and how does java handle it?
What is a methodologist?
Explain the difference between throw and throws in java?
What is a priority queue java?
How to set the permissions to a file in java?
What are the different ways of implementing thread? Which one is more advantageous?