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...


Explain ruby strings.



Explain ruby strings...

Answer / Bhaskar Yadav

"Strings in Ruby are sequences of characters, enclosed within single quotes (') or double quotes ("). They can be created using a literal string, concatenation using + operator, and interpolation using #{}. Strings are immutable in Ruby, which means once created, they cannot be changed. "

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

what is the difference between a gem and a plugin in Ruby?

1 Answers  


What is rvm?

1 Answers  


Can method names be capitalized?

1 Answers  


Please explain the three levels of access control for ruby methods?

1 Answers  


How to create ruby object?

1 Answers  


What is the scope of a local variable in ruby?

1 Answers  


What are the only two values that are falsy?

1 Answers  


In how many ways you can compare Ruby string?

1 Answers  


What things we can define in the model?

1 Answers  


How would you create getter and setter methods in ruby?

1 Answers  


Tell me an array [1,2,34,5,6,7,8,9], product it using a method?

1 Answers  


Tell me what is the difference between active support's “hashwithindifferent” and ruby's “hash” ?

1 Answers  


Categories