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 how groovy string is expressed?



Explain how groovy string is expressed?..

Answer / Rahul Kumar Shivhare

In Groovy, strings can be expressed using single quotes (`'`) or double quotes (`"`). Single-quoted strings do not perform variable interpolation, while double-quoted strings do. To include a quote within a double-quoted string, you must escape it with a backslash (``). For example: `str1 = 'single-quoted'`, `str2 = "double-quoted"`.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Groovy Interview Questions

List out the differences between groovy and java?

1 Answers  


What is expandometaclass in groovy?

1 Answers  


What relational operators is used for in groovy?

1 Answers  


What is the default environments in grails?

1 Answers  


Explain groovydoc comment?

1 Answers  


What is sitemesh?

1 Answers  


What command is used to refresh dependencies?

1 Answers  


What is groovysh?

1 Answers  


What are the dependencies for groovy?

1 Answers  


When “propertymissing (string)” method is called?

1 Answers  


What are the advantages of groovy?

1 Answers  


What are some features does groovy jdk offers?

1 Answers  


Categories