πŸ“Š Ruby
Q. What is the purpose of the method_missing method in Ruby's BasicObject class?
  • (A) It is called when a method is defined on a class object that already exists
  • (B) It is called when a method is called on a class object that does not exist
  • (C) It is called when a method is defined on an object that already exists
  • (D) It is called when a method is called on an object that does not respond to the method
πŸ’¬ Discuss
βœ… Correct Answer: (D) It is called when a method is called on an object that does not respond to the method

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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