what are the differences between final,finally,finalize
methods?
Answer Posted / ambika
final is a keyword.its constant.it cant be changed from its
initiated value.
finally() method used exception handling concept.finally()
block will execute whether or not try block can be execute.
its used to close a file.
finalize is used when an object is just before deleted,it
can be used in garbage collection.
Is This Answer Correct ? | 96 Yes | 18 No |
Post New Answer View All Answers
What is parsing a string?
Why charat is used in java?
Is special character in java?
Can one thread block the other thread?
Can we change the scope of the overridden method in the subclass?
Why we use multi threading instead of multiprocessing?
Explain the meaning of java applet.
What are the five major types of reference sources?
What is ascii format?
How do you sort objects in java?
What is meant by structural programming?
What is methodological framework?
What do you mean by an object in java?
In how many ways we can do exception handling in java?
Which class contains a method: cloneable or object?