public class Sample
extends Object
Compilation: javac Sample.java
Execution: java Sample M N
This program takes two command-line arguments M and N and produces
a random sample of M of the integers from 0 to N-1.
% java Sample 6 49
10 20 0 46 40 6
% java Sample 10 1000
656 488 298 534 811 97 813 156 424 109