what is the purpose of the final in the try-catch-final
Answer Posted / vikas
final- declares a constant
finally- handles exceptions
finalize- helps in Garbage collection
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is the covariant return type?
what is the constructor and how many types of constructors are used in java?
Can a class be private in java?
Is char * a string?
What is the r character?
What is a flag value?
What is singletonlist in java?
What happens if a constructor is declared private?
Explain scope or life time of local variables in java?
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
Differece between class and generic class?
What is the static method?
What are java packages?
How can you add and remove nodes in jtree?
What are the disadvantages of using inner classes?