Response to the following:
Write code for a method that computes the sum of all the numbers in an integer array. If the array's length is zero, the sum should also be zero. Do a big-O time analysis of your method.
Support your work by citing sources according to APA standards.