What is the output of the expression: "hello" + "world" in Ruby?
A. helloworld
B. hello world
C. hello+world
D. "hello" "world"
Answer: Option A
A. helloworld
B. hello world
C. hello+world
D. "hello" "world"
Answer: Option A
What does the 'puts' method do in Ruby?
A. Prints to console
B. Converts to string
C. Finds the length
D. Reads input from user
Join The Discussion