Q. What does the super keyword do in Ruby?

  • (A) It calls the method of the same name in the current class
  • (B) It returns the superclass of the current class
  • (C) It calls the method of the same name in the superclass
  • (D) It returns the current class as a superclass
πŸ’¬ Discuss
βœ… Correct Answer: (C) It calls the method of the same name in the superclass

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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