Need help with Java please.
Exercise 3: Formattable Interface
The System.out.printf method has predefined formats for printingintegers, floating-point numbers, and other data types. But it isalso extensible. If you use the format, you can print any classthat implements the Formattable interface. That interface has asingle method:
void formatTo(Formatter formatter, int flags, int width, intprecision)
In this exercise, you should make the BankAccount classimplement the Formattable interface. Ignore the flags and precisionand simply format the bank balance, using the given width. In orderto achieve this task, you need to get an Appendable reference likethis:
Appendable a = formatter.out( );
Appendable is another interface with a method
void append(CharSequence
PayPal Gateway not configured
PayPal Gateway not configured