what is the purpose of the final in the try-catch-final
Answer Posted / srinivasa
Finally is a block where we can write the code to free up
the resources like File closing,socket obj closing .
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is isa relationship?
In which order the iterator iterates over collection?
How to run a JAR file through command prompt?
What is OOP Language?
What is http client in java?
What is stack explain?
Can a class have multiple constructors?
What is the function of http?
What is java life cycle?
Is this valid in java ? Can we instantiate interface in java?
How many boolean functions are there?
Can we have two main methods in a java class?
What is functional interface in javatpoint?
What is a local, member and a class variable?
What are internal variables?