πŸ“Š Ruby
Q. In Ruby, what is the purpose of the `super` keyword when used in a method?
  • (A) Calls the same method in the superclass
  • (B) Calls the same method in the subclass
  • (C) Calls a method with the same name
  • (D) Calls a method in a different class
πŸ’¬ Discuss
βœ… Correct Answer: (A) Calls the same method in the superclass

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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