How to write the percentage symbol in a string in Java?

4

How to make the string accept the percent symbol ' % '?

    
asked by anonymous 23.05.2015 / 17:35

1 answer

3

To escape % use two percentages %%

    
23.05.2015 / 17:55