git pull origin
) and, if necessary, the latest
files from your bitbucket repository (git pull mine
).
String fun; fun= String.format("%6.1f %s",9.293,"Fred"); System.out.println(fun);This method returns a String that has been formatted as if it were being printed using printf. So, the above command would store: " 9.3 Fred" in fun (notice the three leading spaces).
If you don't remember how the printf command formats output you should take a moment to read about it in the section called “Formatted Output” in the CSCI 1320 Command Sheet (with commentary) document. Then take a look at the printf command used in the display() method of the program we are working on.