PrintStream printf(Locale, String, Object) method in Java with Examples
The printf(Locale, String, Object) method of PrintStream Class in Java is used to print a formatted string in the stream using the given Locale. The string is formatted using specified format and arguments passed as the parameter. Syntax: public PrintStream printf(Locale locale, String format, Objec