Tuesday, November 29, 2011

How to create custom exceptions?

By extending the Exception class or one of its subclasses.:class myexc extends Exception
Category:Core Java Interview Questions

No comments:

Post a Comment