What error occurs if a try-catch-finally statement sequence
does not have a catch clause?
Answers were Sorted based on User's Feedback
Answer / 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 |
Can we have try block without catch block?
What is immutable state?
What is the latest java version?
What are the 3 types of control structures?
we know that every java prog must follows OOPS Principles. Anybody can answer, HOW THE FOLLOWING PROGRAM FOLLOWS OOPS CONCEPTS i.e, Inheritance,Polymarphism,Encapsulation? class a{ public static void main(String args[]){ System.out.println("Hello World"); } }
Difference between Choice and a List?
Write a program to calculate factorial in java?
How many types of classes are there in java?
Can a final method be overloaded?
What is the implementation of destroy method in java. Is it native or java code?
Is java a pure object oriented language?
What is api in java?