Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is a symbol in ruby?



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

Post New Answer

More Ruby Interview Questions

Explain how Symbol is different from variables?

1 Answers  


what is the Notation used for denoting class variables in Ruby?

1 Answers  


Explain about garbage collection feature of ruby?

1 Answers  


Tell me what is the difference between calling super and calling super()?

1 Answers  


Is ruby supports single inheritance/ multiple inheritance or both?

1 Answers  


Please explain the role of thread pooling in relation to the thread lifecycle in ruby?

1 Answers  


how many ways you can create a concatenating string?

1 Answers  


Explain the difference in scope for these two variables: @@name and @name?

1 Answers  


Explain until loop in ruby.

1 Answers  


What are the data types in ruby?

1 Answers  


Explain ruby strings.

1 Answers  


Mention what is the difference between procs and blocks?

1 Answers  


Categories