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 variable and its types?
What does system out println () do?
Which of the following is not an isolation level in the JDBC
What is meant by class and object in java?
How do you do descending order in java?
What is argument in java?
Explain the purpose of garbage collection in Java?
Explain the importance of import keyword in java?
List out five keywords related to exception handling ?
What is mean by exception?
What is boolean data type in java?
When do we use hashset over treeset?
what is meant by HQL?
Differentiate between == and equals().
What is method overloading and method overriding?