/** *Output: Copying file Transfer is 88% complete */ import java.util.Formatter; public class MainClass { public static void main(String args[]) { Formatter fmt = new Formatter(); fmt.format("Copying file%nTransfer is %d%% complete", 88); System.out.println(fmt); } }