Q. What does the `super` keyword do when called inside a method in Ruby?

  • (A) Calls the superclass method with the same name
  • (B) Calls the subclass method with the same name
  • (C) Calls the method again recursively
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (A) Calls the superclass method with the same name

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
237
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate