Vidyalelo
Ruby Programming · Q6

Exception Handling in Ruby

Programming · Ruby Programming · question 6

Q6

What is the purpose of the raise keyword in Ruby?

A.
To begin an exception handling block
B.
To manually raise an exception
Answer
C.
To ensure code execution regardless of exceptions
D.
None of the above

Answer: Option B

Solution

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