TestTuple.java 355 B

1234567891011121314151617
  1. package oram;
  2. import java.util.Random;
  3. public class TestTuple {
  4. public static void main(String[] args) {
  5. Random rand = new Random();
  6. Tuple tuple = new Tuple(1, 2, 3, 4, null);
  7. System.out.println(tuple);
  8. tuple = new Tuple(1, 2, 3, 4, rand);
  9. System.out.println(tuple);
  10. tuple = new Tuple(0, 0, 0, 4, rand);
  11. System.out.println(tuple);
  12. }
  13. }