// Whitaker // CSE142 Section AA // TA Miya // Instructor whitaker // // This is a simple forloop introduction from the second lecture. public class ForloopExample { public static void main(String[] args) { // initialization; test; update for (int i = 1; i <= 2; i++) { System.out.println("Whitaker"); // using print() doesn't add a new line after your text //System.out.print("Whitaker"); } } }