How to format the string using java.util.Formatter class?

Published --