What is an exception in Java?
Example:
int result = 10 / 0; // This will throw an ArithmeticException
Save For Revision
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.