Catch(Exception e){
}
in that what is Exception and purpose of that in that place
exactly?
Answer Posted / sreenu karampudi
The Catch block is used to catch the exception which is
from the try block. The exception type should be same in
order to catch it otherwise it won't
for example;
try {
// piece of code which gets ArthimeticException
}
Catch(ArthimeticException e) [
}
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How do you find the absolute value?
Can size_t be negative?
What is mnemonic in assembly language?
What is the use of parse function in java?
Give few difference between constructor and method?
What do you understand by an io stream?
Where import statement is used in a java program?
What is autoboxing and unboxing?
Explain about automatic type conversion in java?
Explain the init method?
What is meant by tab pans?
Explain heap sort?
What is not object oriented programming?
Is minecraft java edition free?
What’s the difference between unit, integration and functional testing?