Are ruby strings are mutable?



Are ruby strings are mutable?..

Answer / Preetik Singh

Yes, Ruby strings are mutable. String objects in Ruby can be modified after they are created using methods like 'sub', 'chomp', and 'upcase'.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

How can you removed from array in ruby?

1 Answers  


Explain retry statement in ruby.

1 Answers  


Can you list out the few features of ruby?

1 Answers  


Mention what is the difference between a gem and a plugin in ruby?

1 Answers  


Explain about methods?

1 Answers  


What are Ruby arrays and how they can be created?

1 Answers  


Explain the three levels of access control for ruby methods?

1 Answers  


What is concatenating string in Ruby?

1 Answers  


Explain some of the looping structures available in ruby?

1 Answers  


mention what is the difference between a single quote and double quote?

1 Answers  


What are blocks and procs?

1 Answers  


Explain ruby class.

1 Answers  


Categories