Examveda

Which of the following is the correct way to define a variable in Ruby?

A. var_name = value

B. var var_name = value

C. name = value

D. variable name = value

Answer: Option A


Join The Discussion

Related Questions on Data Types and Variables in Ruby