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 the difference between static and non-static variables in java programming?
What is the difference between serial and throughput garbage collector?
Explain different forms of polymorphism?
What package is math in java?
What is fail first in java?
What is the best way to findout the time/memory consuming process?
What is the difference between multiple processes and multiple threads?
Explain different ways of creating a thread?
What is meant by object?
What are the types of java?
Why does my function print none?
What are predicates in java 8?
What’s meant by anonymous class?
What class allows you to read objects directly from a stream in java programming?
java Technical questions asked by JPMC