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 concatenating string in ruby. In how many ways you can create a concatenating string.



What is concatenating string in ruby. In how many ways you can create a concatenating string...

Answer / Avinash Verma

Concatenation in Ruby refers to combining multiple strings together. There are several ways to concatenate strings:n1. Using the '+' operator: 'str1' + 'str2'n2. Using << for append operation: 'str' << 'append_string'n3. Using the 'n' operator for multi-line strings: 'str1nstr2'

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

what is the syntax for Ruby collect Iterator?

1 Answers  


What are ruby blocks.

1 Answers  


Explain the role of thread pooling in relation to the thread lifecycle in ruby?

1 Answers  


Which ruby interpreter option enables debugging?

1 Answers  


Explain the use of global variable $ in Ruby?

1 Answers  


How would you implement hash in ruby internally?

1 Answers  


How ruby looks up a method to invoke?

1 Answers  


What are differences between ruby and python?

1 Answers  


what the difference is between false and nil in Ruby?

1 Answers  


Explain me what the difference is between false and nil in ruby?

1 Answers  


Explain the garbage collection feature of ruby?

1 Answers  


What are the only two values that are falsy?

1 Answers  


Categories