2010-04-15 17 views

回答

6
String.format("Got value: %s", variable); 
3
System.out.format("%s", aString) 

Format和所有的各種各樣的化身。

+1

您的網址有問題:http://file///opt/java/javase/jdk1.6/docs/api/java/text/Format.html – Viet 2010-04-15 05:29:01

+0

糟糕! http://java.sun.com/javase/6/docs/api/java/text/Format.html – 2010-04-15 05:34:41

相關問題