πŸ“Š Ruby
Q. What is the method used to check if a variable is empty in Ruby?
  • (A) .empty?
  • (B) .is_empty?
  • (C) .null?
  • (D) .has_content?
πŸ’¬ Discuss
βœ… Correct Answer: (A) .empty?

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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