JAVA 2017 Old Paper Solutions || BIM STUDY NOTES

3rd Semester

Year 2017 11 12 13 14

17.Explain user defined exception in java with a suitable example.

In java we can create our own exception class and throw that exception using throw keyword. These exceptions are known as user-defined or custom exceptions.

Leave a Reply

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