πŸ“Š Ruby
Q. Which keyword is used to raise an exception in Ruby?
  • (A) throw
  • (B) raise
  • (C) catch
  • (D) error
πŸ’¬ Discuss
βœ… Correct Answer: (B) raise

Explanation: The raise keyword is used to throw an exception.

Explanation by: Rati Dubey
The raise keyword is used to throw an exception.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
54
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
80%
Success Rate