@@ -0,0 +1,522 @@
+/*%0D%0A8.6.2 The Random Class%0D%0Apage 309%0D%0A*/%0D%0A%0D%0Apackage epfc.cours3449;%0D%0A%0D%0Aimport java.util.Random;%0D%0A%0D%0Apublic class TestRandom %7B%0D%0A    public static void main(String%5B%5D args) %7B%0D%0A        Random r1 = new Random(3);%0D%0A        for(int i=0; i%3C10; i++) %7B%0D%0A            System.out.print(r1.nextInt(1000) + %22 %22);%0D%0A        %7D%0D%0A        System.out.println(%22%22);%0D%0A        Random r2 = new Random(3);%0D%0A        for(int i=0; i%3C10; i++) %7B%0D%0A            System.out.print(r2.nextInt(1000) + %22 %22);%0D%0A        %7D%0D%0A        System.out.println(%22%22);%0D%0A    %7D%0D%0A%7D%0D%0A

Test Random Class, comme dans le livre pg 310