πŸ“Š Ruby
Q. What is the purpose of the extend keyword in Ruby?
  • (A) Calls a superclass method
  • (B) Initializes a new instance
  • (C) Adds methods from a module as class methods
  • (D) Adds methods from a module as instance methods
πŸ’¬ Discuss
βœ… Correct Answer: (C) Adds methods from a module as class methods

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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