Update App.java

Use printf instead of a combination of println and String.format to make it more readable