COSC 311 Homework 9/121/2016 Reverse array Distributed: 9/21/2016 Due: 9/28/2016 Write Java code to reverse an array in place, i.e., only one array. The code must have minimal number of variables and minimal number of lines of code. Initialization: Initialize a 1D array size with data values. You can code any array size and any element type (that is, I don't care about size and type of the 1D array). Output: Reversed array Constraints on the code: Do not use any Java objects or classes beyond char stream I/O. The data structure must be 1D array. Note! The code's logic should work for any size array (odd or even ... <-- hint!). Points taken off for: - doesn't work - doesn't meet constraints Turn in: Hardcopy of your code. In your code, include a header: [your name] [your URL] COSC 311 HW 09/21 FALL 2016. Do NOT comment your code. Do not supply UML diagram for your code.