-
Why is it expensive to use objects for the exception?
-
- Because of execution time
- Memory space involved in creating an exception object
- Exception object is created only if an error actually happens
- All of above
- None of these
Correct Option: C
If an error occurs in the program, then only exception object is created otherwise, It will not be created. So it’s expensive to use in the program.