Q. What will be output for the following code?
Code:
begin
puts 'This is Before Exception Arise!'
raise 'Exception Created!'
puts 'After Exception'
end
β
Correct Answer: (C)
This is Before Exception Arise! Exception Created!
Explanation: The output for the following code is Option C.