πŸ“Š Ruby
Q. What is the output of 'nil.nil?' in Ruby?
  • (A) true
  • (B) false
  • (C) nil
  • (D) error
πŸ’¬ Discuss
βœ… Correct Answer: (A) true

Explanation: Calling nil? on nil returns true.

Explanation by: Rati Dubey
Calling nil? on nil returns true.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
82
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
99%
Success Rate