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

Describe class libraries in Ruby?

1 Answers  


What are advantages of using ruby?

1 Answers  


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

1 Answers  


How to use ruby methods.

1 Answers  


Is ruby whitespace-dependent?

1 Answers  


What are the operators available in ruby?

1 Answers  


What is ruby?

1 Answers  


What is the pattern matching operator in ruby?

1 Answers  


Explain ruby ranges. What are the ways to define ranges?

1 Answers  


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

1 Answers  


what the difference is between false and nil in Ruby?

1 Answers  


What are the different environment variables present in the ruby?

1 Answers  


Categories