Explain final, finalize() and finally?
Answer Posted / dwr
final varibles are unchangeble.
final classes are not subclassed.
final methods are not overriden.
finilize()
to clean up memory resourses for object using finilize().
finally block is executed if exception thrown or not.
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What are the types of sockets in java?
What are packages in java?
What is a Transient Object?
Can we define a package statement after the import statement in java?
What is the relationship difference the canvas class and the graphics class?
What is multiple inheritance? Is it supported by java?
What is http client in java?
What is widening and narrowing in java? Discuss with an example.
How do you join strings in java?
Is it possible for a yielded thread to get chance for its execution again?
Explain exception chaining in java?
What are measurable parameters?
What is data movement?
What is a byte array?
What are the states of thread in java?