Méthode ‘printf’: Comment définir l’alignement de sortie

Author:


{filelink=6012}


public class AlignementSortie {
  public static void main(String[] argv) throws Exception {
    System.out.printf("%15s %15s %15s", "Un", "Simple", "Exemple !");
  }
}

Leave a Reply

Your email address will not be published. Required fields are marked *