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 the difference between a single quote and double quote?



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

Answer / Sandeep Kumar Khare

In Ruby, both single quotes (') and double quotes (") can be used to create strings. The main differences are that single quotes do not interpret escape sequences or variable interpolation, whereas double quotes allow for both.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What is the difference between #== and #eql??

1 Answers  


What are the different uses of ruby modules?

1 Answers  


What does mri most commonly stand for?

1 Answers  


Explain some of the looping structures available in ruby?

1 Answers  


what is a class library in Ruby?

1 Answers  


Name some operators used in ruby.

1 Answers  


Explain me what is the difference between symbol and string?

1 Answers  


What is the pattern matching operator in ruby?

1 Answers  


What is the difference between extend and include?

1 Answers  


Describe the environment variables present in Ruby?

1 Answers  


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

1 Answers  


Explain about operators in Ruby?

1 Answers  


Categories