lundi 23 février 2015

Literal String using "@" in Java? [duplicate]


This question already has an answer here:




In C#, there's a way to tell the compiler to interpret a string literally, without consideration of escape characters.



string myStr = @"Some literal string, \ doesn't need to be escaped";


Is something like this possible in Java?


Aucun commentaire:

Enregistrer un commentaire