Question: Xoen X 9 0 7 : makeCopy 5 0 % Write a method that will make a copy of an array. The method takes one

Xoen X907: makeCopy
50%
Write a method that will make a copy of an array. The method takes one parameter, orig. The method should make a new array the same size as the original one, orig, and you must copy the elements.
Examples:
makeCopy ({1,10,100,1000}){1,10,100,1000}
Your Answer:
Feedback
1 public int [] makeCopy(int [] orig)
Your feedback will appear here when you check your answer.
 Xoen X907: makeCopy 50% Write a method that will make a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!