Answer Posted / Dherendra Jain
Strings in Ruby are objects that represent sequences of characters, while symbols are lightweight objects that represent unique identifiers. Strings can be concatenated with the + operator or interpolated within double quotes, while symbols use the : colon before their identifier.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers