Q. What is the purpose of the super keyword in Ruby OOP?

  • (A) Returns the superclass
  • (B) Calls the same method in the superclass
  • (C) Initializes a superclass object
  • (D) Returns the superclass
πŸ’¬ Discuss
βœ… Correct Answer: (B) Calls the same method in the superclass

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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