public PrintWriter format(
String format, Object... args)
{
super.format(format, args);
writer.format(format, args);
return this;
}
public PrintWriter format(Locale locale, String format, Object... args)
{
super.format(locale, format, args);
writer.format(locale, format, args);
return this;
}
the format method is no defined.it is not getting compiled.