The process of defining a new exception by extending an existing exception class is known as ________.

  • Customization of exception
  • Exception chaining
  • Exception creation
  • Exception handling
In Java, when you define a new exception by extending an existing exception class, it's called "Customization of exception." This process allows you to create your own exception classes that suit your application's specific needs while maintaining compatibility with Java's exception hierarchy.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *