Explain final, finalize() and finally?
Answer Posted / vijay chaudhary
Finally is used with try catch for Exception handling
purposes. Whatever written in Finally will run except if
program exits abnormally.
a Try should have atleast one catch or finally.
| Is This Answer Correct ? | 23 Yes | 17 No |
Post New Answer View All Answers
How do you reverse a string in java?
What does three dots mean in java?
Why scanner is used in java?
Write a program to calculate factorial in java?
If you do not want your class to be inherited by any other class. What would you do?
What are design patterns and please explain?
What is meant by final class?
What is finally block?
What are wrapped classes in java programming?
How do you write a good declaration?
Is it possible to instantiate the abstract class?
What is java lang object?
What is java dot?
Can we use static class instead of singleton?
Is .net better than java?