Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

String format example

Language: Editor: Layout:
+ ] Show input
Compilation time: 0.63 sec, absolute running time: 0.14 sec, cpu time: 0.09 sec, memory peak: 32 Mb, absolute service time: 0.79 sec 
latest |  history
Error(s), warning(s):
Exception in thread "main" java.util.UnknownFormatConversionException: Conversion = ';'
	at java.util.Formatter.checkText(Formatter.java:2579)
	at java.util.Formatter.parse(Formatter.java:2555)
	at java.util.Formatter.format(Formatter.java:2501)
	at java.util.Formatter.format(Formatter.java:2455)
	at java.lang.String.format(String.java:2940)
	at Rextester.main(source.java:16)