Java Output Formatting

  • + 0 comments

    you can also use format------ System.out.format("%-15s%03d%n", s1, x);