devxlogo

October 1, 2019

Employing the Formatter Class in Java

The Formatter class is used to format the output as needed. Here, we are trying to print the current time formatted in more than one format. Please see the output