methods above code fragment test program arraytest that uses various built-in methods of the arrays class program arraytest uses another feature in java--the ability to generate pseudorandomnumbersthat isnumbers that are statistically random (but not truly randomin particularit uses java util random objectwhich is pseudo-random number generatorthat isan object that computesor "generates, sequence of numbers that are statistically random such generator needs place to starthowever,which is its seed the sequence of numbers generated for given seed will always be the same in our programwe set the seed to the current time in milliseconds since january (using the method system currenttimemillis)which will be different each time we run our program once we have set the seedwe can repeatedly get random number between and by calling the nextint method with argument we show sample output of this program belowarrays equal before sorttrue arrays equal after sortfalse old [ , , , , , , , , ,