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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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