import java.util.Random; /** * Klasse zum Ausgeben von zufaelligem Text */ public class RandomText { public static void main(String[] args) { Random random = new Random(); String vocals = "aeiou"; for (int lines = random.nextInt(4) + 5; lines > 0; lines--) { for (int chars = random.nextInt(3) + 4; chars > 0; chars--) { System.out.print(vocals.charAt(random.nextInt(5))); } System.out.println(); } } }