enter image description here This is the solution I looked up but except for the array and for each loop i don't get any of that I am a total beginner by the way.
I tried to understand the problem but didn't quite get it properly, I would really like some explanation.
int[] a7={8,90,-75,863,-7845};
int min3=0;
for (int element1:a7){
if (element1<min3){
min3=element1;
}
}
System.out.printIn("The Minimum Value of this array is"+min3);