12.4k views
0 votes
In object-oriented terminology, the generic name used for errors is ____.

1 Answer

2 votes
The generic name that is used for errors in object-oriented languages is called exceptions. The reason for this is that errors are not usual occurrences but they are the exceptions to the rule. In object-oriented terminology, you try some code that might throw an exception and if an exception is thrown, it is transferred to a block of code that can catch the exception.
User Belgac
by
8.4k points