question: public static int [ ] randomNumber ( int n ) { int [ ] num = new int [ n ] ; for ( int i = 0 ; i < num . length ; i ++ ) { num [ i ] = ( int ) ( rGen . nextDouble ( ) * 10 ) ; } return num ; }
target:  generate random number of size n. 