Methods Quiz


What is a method?

Show Answer

What does the .to_i method do?

Show Answer

What will be the output of the following?

puts("123".to_i + 5)
12 != 6
puts("HI!")

Show Answer