A format specifier can have up to five different parts (not including the “%”). Everything in brackets [ ] below is optional, so only the percent (%) and the type are required. But the order is also mandatory, so any parts you DO use must go in this order.
Come formattare le stringhe
Share this highlighthttp://www.safaribooksonline.com/a/head-first-java/47684/