What is the output if the following code is executed at the Ruby command prompt?
foo = "testing"
puts defined? foo
puts defined? $_
Correct Answer:
testing
global-variable
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Ruby MCQ Questions