what are the differences between final,finally,finalize
methods?
Answer Posted / boomiraj
Final:It cant change during execution . Cant be extended.
Finally:It is execute even if execution may (or) may not
come.It must be execute if your declare in program.Can
block finally using System.err(0);statement.
Finalize():It is a garbage collector.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is math floor in java?
How many types of voids are there?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
What is the purpose of static methods and variables?
What is a final class ?
What is int lol?
Is string pool garbage collected?
What is mnemonic in assembly language?
What are the restrictions imposed on method overriding?
Is assembly language a low level language?
What is a singleton in genetics?
Explain about automatic type conversion in java?
Which class contains a method: cloneable or object?
What is mean by collections in java?
What is a map in java?