Which operator is used for exponentiation in Ruby?
A. **
B. ^
C. ^^
D. //
Answer: Option A
A. **
B. ^
C. ^^
D. //
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