The code you wrote if I wanted to compile and use it would it work for my problem?
kotoro -
I know for sure that I can use java.util
I want to make a method called printArray() so I can print out the results so would this work?
Code:
public static void printArray(int[] a) {
for (int i = 0; i < a.length; i++) {
System.out.pr
Leave a comment: