//PROGRAM 2-7 class DemoBoolean2 { public static void main(String[] args) { int index = 0; while (index < 5) { System .out.println("Baris ke-" + (index+1)); index++; } } }