im just looking to change my code so that a random array of a fixed length of 100 integers is generated every time the code is ran rather than just have a pre-set array within t
public class Selectionsort { public static void main(String[] args) { int[]numbers= new int[100] Random random = new Random(); for(int i=0;i
The above snippet will help you to create a random numbers between 1 to 100 for the array of size 100.