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 does the string method compareto () do?
Where is core java used?
Which class contains a method: cloneable or object?
How do you compare characters in java?
What is methods in java?
Can we initialize the final blank variable?
how do I create a runnable with inheritance? : Java thread
What is the purpose of assert keyword used in jdk1.4.x?
What is arguments in java?
How do you find the maximum number from an array without comparing and sorting?
What is JFC?
Explain about version control?
Difference between arraylist and hashset in java?
What is super keyword explain with example?
What is a copy constructor in java?