Question
What is the output of the code?variable="true".reverse if variable puts "true" else puts "false" end
Answer: Option B
Was this answer helpful ?
Condition is satisfied and value is not changed.
Output:
True
Was this answer helpful ?
Submit Solution