import java.awt.*;
class control extends MyPanel { public boolean mousePressed(MouseEvent e) { repaint(); } public void paint(Graphics g) { // first loop int a = 10; int b = 5; while (a < 5 && b < 3) { g.printString("Armand " + a, a, a); a++; } // second loop
// the simple for loop
// the nested loops
|