Java String format also gives you the option to add padding before or after a passed String with printf() method. System.out.printf("%10s\n", " ...
確定! 回上一頁