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 module with example?
What is the new line character?
Discuss 2D arrays.
What is the common usage of serialization? What exceptions occur during serialization?
Define class?
What are the uses of java?
How do you remove spaces in java?
What is a return in java?
Why are getters and setters used?
What are unchecked exceptions in java?
What is the symbol for space?
Can we overload the main() method?
What do you understand by private, protected and public?
Is ++ operator is thread safe in java?
Which container method is used to cause a container to be laid out and redisplayed in java programming?