can someone show me or guide me in the right direction. I need to know how to create a method that has parameters of two primitive type arrays that must be added together and then returned in a separate array.
I really appreciate any and all suggestions on how to do this.
Sebastian Janisch
Ranch Hand
Joined: Feb 23, 2009
Posts: 1183
posted
0
Do you have an approach already ?
JDBCSupport - An easy to use, light-weight JDBC framework -
Do you know how to create an array of a specific length? Do you know how to read elements from an array and assign array elements? If you answered "yes" to both questions, then it shouldn't be hard at all.
Rob Prime wrote:Do you know how to create an array of a specific length? Do you know how to read elements from an array and assign array elements? If you answered "yes" to both questions, then it shouldn't be hard at all.
There is however a nice generic approach that is a little trickier for starters.