Question: can you show me what's is wrong with the code arr[i]=rnd.nextInt(); . please help int Il arr=new int [10]; Random rnd= new Random(); //arr= new
can you show me what's is wrong with the code arr[i]=rnd.nextInt(); . please help![can you show me what's is wrong with the code arr[i]=rnd.nextInt(); .](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3ca46234da_06166f3ca4591124.jpg)
int Il arr=new int [10]; Random rnd= new Random(); //arr= new int [10]; for (int i=0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
