Catch(Exception e){
}
in that what is Exception and purpose of that in that place
exactly?
Answer Posted / kabita
bcoz Exception is d base class of all exceptions arise in d
programme.if u write this no need to consider what type of
exception is arised in try block of d programme.,it will
handle all d exception.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How do you remove all elements from an arraylist in java?
What are the four integer types supported by java?
Can we create a constructor in abstract class?
How does compareto work in java?
Can we write any code after throw statement?
Can we have multiple catch block for a try block?
Why Java is not pure Object Oriented language?
Is main an identifier?
Explain the difference between transient and volatile in java?
Can a class extend more than one class?
How do you take thread dump in java?
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
What does 0 mean in boolean?
Are arrays primitive data types?
In the below example, what will be the output?