X115: post4

Given a non-empty array of ints, return a new array containing the elements from the original array that come after the last 4 in the original array. The original array will contain at least one 4. Note that it is valid in Java to create an array of length 0.

Your Answer:


Practice a different Java exercise


Your feedback will appear here when you check your answer.