So just save the value that the GetPoints methoid returns, aand call printArray from your main method:
int array[] = test.GetPoints();
printArray(array);
All you have to do is set the return type for the GetPoints method to an array of ints - at the moment it is void (i.e. it returns nothing) and return the array as in your comments.