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
In a container there are 5 components. I want to display the all the components names, how will you do that one?
What is the purpose of checked and unchecked exceptions in JAVA?
What is the use of list in java?
What is the purpose of object oriented programming?
What is double data type?
what is enumset?
Why are arrays useful in java?
Explain method overloading?
What does java ide mean?
State one difference between a template class and class template.
What is the difference between math floor and math round?
Is java an open source?
describe method overloading
What are the differences between c++ and java?
Explain jvm, jre, and jdk?