(String[] args)
| 28 | |
| 29 | public class PrimitiveGenericTest { |
| 30 | public static void main(String[] args) { |
| 31 | String[] strings = FillArray.fill( |
| 32 | new String[5], new Rand.String(9)); |
| 33 | System.out.println(Arrays.toString(strings)); |
| 34 | int[] integers = FillArray.fill( |
| 35 | new int[9], new Rand.Pint()); |
| 36 | System.out.println(Arrays.toString(integers)); |
| 37 | } |
| 38 | } |
| 39 | /* Output: |
| 40 | [btpenpccu, xszgvgmei, nneeloztd, vewcippcy, gpoalkljl] |