Logan, I have tried running your program in my IDE. Here are some remarks:

REMARK 1: You need to invoke printArray(array); in main() -- I see that the main() method in the code you posted is...