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 |
Give us a program to check for parenthesis matching using stack.
Nested classes VS Inner classes?
What is Generic in java? Where can we write Generic ( class or method or objects or etc...)? with simple example? Thanks, Bose.
2 Answers Infosys, Tech Mahindra,
What is immutable in java?
Why java is secure? Explain.
What is logical variable?
What are the differences between stringbuffer and stringbuilder?
if two references are having same hash codes,is that means those are refering to same object?
Why do we use string?
Why are strings immutable in Java?
What languages are pass by reference?
Why is multithreading important?