What will happen if we cannot mention "finally" in Java
Program ???
Answer Posted / ashok
no problem.if we declare it is better.because compulsory
statements are written in finally block.
| Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
Explain a situation where finally block will not be executed?
When arithmeticexception is thrown?
Can we cast any other type to boolean type with type casting?
What is prime number in java?
What is a static method in java?
If we don’t want some of the fields not to serialize how to do that?
What are the two basic ways in which classes that can be run as threads may be defined?
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
Can a class be declared as protected?
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
Can the interface be final?
Can abstract class have private constructor?
How does system arraycopy work in java?
When will we prefer to use set and list in java and why?
What is the difference between a choice and a list?