Students, please be sure to log in. This site does not use cookies and does not track/store work submitted when not signed in.
Unit 6 Problems
Java Reference Sheet
combineTwo
Objective(s): Practice manipulating elements of an array in the context of a loop.
Given two arrays, arrA
and arrB
, create a new array containing their values in the same order they appear. For this problem, the second array is appended to the end of the first array.
combineTwo({1}, {2, 3})-> {1, 2, 3}
combineTwo({7, 11}, {24, 7}) -> {7, 11, 24, 7}