Examveda

What is the correct syntax for printing a message to the console?

A. console.log("message")

B. print("message")

C. puts("message")

D. write("message")

Answer: Option C


This Question Belongs to Ruby Programming >> Basic Syntax In Ruby

Join The Discussion

Related Questions on Basic Syntax in Ruby