System.out.println("\""+String.format("%10s", "mama")+"\"");
System.out.println("\""+String.format("%-10s", "mama")+"\"");
System.out.println("\""+String.format("%2.7f", Math.PI)+"\"");
Post a Comment
No comments:
Post a Comment