What is the basically use of finally while we know it
is always executed but why?
Answer Posted / reshma
Using finally one can close the resources such as file
handler or a database connection. It ia good to maintain
the internal state of an object.
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
What is meant by polymorphism?
What is arrays fill in java?
What is arraylist class in java?
Are registers volatile?
What are autoboxing and unboxing? When does it occur?
Write a program to find the greatest of three numbers in java?
What is string args [] in java?
Say any two properties in beans?
What is linked hashset and its features?
Which data type is class in java?
What is meant by call by reference?
Explain wait() method of object class ?
What causes memory leaks in java?
What are the 6 functions?
What is the full meaning of java?