The most important method on the
Formatter class is format . Using this method, we can format the data to our requirements.
This table shows various methods on the Formatter class.
Formatter using an example.
|