Answer Posted / Ajay Kumar Verma
In Ruby, a variable is a named location used to store data. Variables in Ruby do not have an explicit declaration, and their names must follow the rules for identifiers: they can start with any letter or underscore, followed by any number of letters, digits, or underscores. Here's an example:nnmy_variable = 'value'n
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers