Answer Posted / ranganathkini
The finally clause is used to ensure that a single statement
or a set of statements are executed irrespective of whether
or not an exception is thrown/caught inside a method.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is 0 a real number?
What is bigger kb or mb?
Explain different ways of creating a thread. Which one would you prefer and why?
Who is founder of java?
What is Java Reflection API? Why it’s so important to have?
What is method overloading in JAVA? Why is it not present in C ?
What is difference between fail-fast and fail-safe?
Explain numeric promotion?
What are the benefits of operations?
Is hashset ordered java?
Why method overriding is used?
Which variables are stored in stack?
How do you read and print a string in java?
Explain about main thread in java?
What is class and object in java?