πŸ“Š Ruby
Q. What is the purpose of the include keyword in Ruby classes?
  • (A) To inherit from another class
  • (B) To define a new method
  • (C) To create a new instance
  • (D) To mix in methods from a module into a class
πŸ’¬ Discuss
βœ… Correct Answer: (D) To mix in methods from a module into a class

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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