Explain final, finalize() and finally?
Answer Posted / vijay chaudhary
Finally is used with try catch for Exception handling
purposes. Whatever written in Finally will run except if
program exits abnormally.
a Try should have atleast one catch or finally.
Is This Answer Correct ? | 23 Yes | 17 No |
Post New Answer View All Answers
What is the basic concepts of OOPS?
What is boolean example?
Can a final variable be initialized in constructor?
What is extension method in java?
What are decalarations?
how to run ecllipse with jettyserver for windows environment using batch file
What is the difference between compiler and jvm?
Is list thread safe in java?
What is byte data type?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
What is the maximum length of a url?
What do you mean by singleton class in java?
What is the use of runnable interface?
What is the difference between processes and threads?
What is io stream in java?