n, age: Integer => a} puts "#{n} is #{a}" in _ puts "no match" end"> What is the output? case {name: "Ruby", age: 31} i...

Ruby Gold Practice Questions - Ruby Association Certified Ruby Programmer Gold Version 3 Exam

Access More Questions
What is the output? case {name: "Ruby", age: 31} in {name: String => n, age: Integer => a} puts "#{n} is #{a}" in _ puts "no match" end
Correct Answer:
Ruby is 31

Access more questions from this quiz

Continue to Ruby Gold Practice Questions - Ruby Association Certified Ruby Programmer Gold version 3 Exam for more practice questions and the full quiz experience.

Access More Questions