What is a symbol in ruby?
Answer / Arun Kumar Yadav
A Symbol in Ruby is an object that represents an identifier (a string that starts with a colon and contains only alphanumeric characters, underscores, or colons). They are used as keys in hashes and for method names.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain how Symbol is different from variables?
what is the Notation used for denoting class variables in Ruby?
Explain about garbage collection feature of ruby?
Tell me what is the difference between calling super and calling super()?
Is ruby supports single inheritance/ multiple inheritance or both?
Please explain the role of thread pooling in relation to the thread lifecycle in ruby?
how many ways you can create a concatenating string?
Explain the difference in scope for these two variables: @@name and @name?
Explain until loop in ruby.
What are the data types in ruby?
Explain ruby strings.
Mention what is the difference between procs and blocks?