Answer Posted / k.santosh kumar
Finally:
finally is block of code written in exception handling.
finally block is executed irrespective whether exception as
occured or not. it will usefull when u want to close user
defined resources like file , opened resources(db stmts).
| Is This Answer Correct ? | 25 Yes | 2 No |
Post New Answer View All Answers
What is downcasting?
What is basic syntax?
What is flag in java?
What is serialversionuid?
What is the effect of keeping a constructor private?
What is the use of keywords in java?
What is time complexity algorithm?
What is percentage in java?
Explain about version control?
Can we override constructors in java?
Explain exception chaining in java?
Can we cast any other type to boolean type with type casting?
What is stack class in java?
How can we use primitive data types as objects?
How to find the largest value from the given array.