πŸ“Š Ruby
Q. What is the method used to check if a variable is of a specific class in Ruby?
  • (A) .is_a?
  • (B) .type_of
  • (C) .typeof
  • (D) .class_of
πŸ’¬ Discuss
βœ… Correct Answer: (A) .is_a?

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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