//Cramos Variable "i" con valor 1 y hacemos que se repita hasta llegar a 5, añadiendo 1 en cada vuelta for ( int i = 1; i <= 5; i++ ) { System.out.println("hola"); }