What is a Throwable class?

What is a Throwable class?

- It is the superclass of all errors and exceptions in Java.

- It contains a snapshot of the execution stack of its thread at the time it was created.

- In throwable class, a message string gives more information about the error.

Declaration of Throwable class:
public class Throwable
extends Object
implements Serializable
Significance of Finalize method
Significance of Finalize method - The Finalize method of an object is called when GC is about to clean up the object. We can keep clean up....
Significance of Finalize method
Significance of Finalize method - The Finalize method of an object is called when GC is about to clean up the object. We can keep clean up......
What is an Object Serialization?
What is an Object Serialization? - It is the process of writing the contents of an object to a file and vice versa.....
Post your comment