Is It Possible To Define A Return Statement In The Exception Part Of A Function?

Category: QuestionsIs It Possible To Define A Return Statement In The Exception Part Of A Function?
Editor">Editor Staff asked 2 years ago

Is It Possible To Define A Return Statement In The Exception Part Of A Function?

1 Answers
Editor">Editor Staff answered 2 years ago

Yes, it is possible to define RETURN statement in the exception section. This RETURN statement would be executed if an exception is raised and control is passed to the exception section of the code.