πŸ“Š Ruby
Q. What does the `super` keyword do in Ruby?
  • (A) Calls the method with the same name in the superclass
  • (B) Calls the method with the same name in the subclass
  • (C) Returns the superclass of the current class
  • (D) Jumps to the next iteration of the loop
πŸ’¬ Discuss
βœ… Correct Answer: (A) Calls the method with the same name in the superclass

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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