πŸ“Š Ruby
Q. How do you compare two objects in Ruby?
  • (A) object1 == object2
  • (B) object1.equals(object2)
  • (C) object1 === object2
  • (D) compare(object1, object2)
πŸ’¬ Discuss
βœ… Correct Answer: (A) object1 == object2

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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