What error occurs if a try-catch-finally statement sequence
does not have a catch clause?

Answers were Sorted based on User's Feedback



What error occurs if a try-catch-finally statement sequence does not have a catch clause?..

Answer / niranjanravi

no error will occur

Is This Answer Correct ?    4 Yes 2 No

What error occurs if a try-catch-finally statement sequence does not have a catch clause?..

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

What error occurs if a try-catch-finally statement sequence does not have a catch clause?..

Answer / ravikiran

finally if system doenn't exit

Is This Answer Correct ?    2 Yes 2 No

What error occurs if a try-catch-finally statement sequence does not have a catch clause?..

Answer / deepak

yes

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Give us a program to check for parenthesis matching using stack.

0 Answers   Genpact,


Nested classes VS Inner classes?

3 Answers   Infosys,


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?

0 Answers  


Why java is secure? Explain.

0 Answers  






What is logical variable?

0 Answers  


What are the differences between stringbuffer and stringbuilder?

0 Answers  


if two references are having same hash codes,is that means those are refering to same object?

5 Answers   CTS,


Why do we use string?

0 Answers  


Why are strings immutable in Java?

1 Answers  


What languages are pass by reference?

0 Answers  


Why is multithreading important?

0 Answers  


Categories