title: Java: Can Function have a parameter for an array of a specific length?
body: <p>I am making a subroutine that will convert a 8-bit binary number into a int value. I want it to take as a parameter a int array with a length of 8 (to represent the binary number) and <strong>reject arrays of any other length</strong>. Is the possible?</p>