What is the difference between += and = operators?
A. += adds value to existing variable, = assigns value
B. Both operators are the same
C. = adds value, += assigns value
D. += appends to string, = replaces string
Answer: Option B
Related Questions on Basic Syntax in Ruby
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