What error occurs if a try-catch-finally statement sequence
does not have a catch clause?
Answer Posted / nagaraju
we can have try block with out catch block, but we should
have finally block after try block(if catch block is not
there). If any exception occurs in the try block or not
finally block will be executed.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the driver class?
Explain the difference between hashmap and hashtable in java?
What are loops in java? What are three types of loops?
What is the difference between static and non-static variables in java programming?
What is gc()?
What are heterogeneous objects?
What is the effect of keeping a constructor private?
What are the topics in advance java?
What is a singleton class? Give a practical example of its usage.
How can you avoid serialization in child class if the base class is implementing the serializable interface?
What are 3 data types?
What is the default value of float and double datatype in java?
How can we access some class in another class in java?
Is linked list a linear or non-linear data structure?
What are internal variables?