Arrays in Java are quite a broad topic, so as part of our Programming I course, we’re going to create…