Vidyalelo
Ruby Programming · Q1

Exception Handling in Ruby

Programming · Ruby Programming · question 1

Q1

What is an exception in Ruby?

A.
A way to group related methods and constants
B.
A method for defining variables
C.
An unexpected event that disrupts the normal flow of the program
Answer
D.
A predefined object in Ruby

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board