πŸ“Š Ruby
Q. What is polymorphism in Ruby?
  • (A) The ability for objects of different classes to be treated as objects of a common superclass
  • (B) The ability to hide the implementation details of a class
  • (C) The ability to restrict access to certain methods
  • (D) The ability to create objects from a class
πŸ’¬ Discuss
βœ… Correct Answer: (A) The ability for objects of different classes to be treated as objects of a common superclass

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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