Task 6 of 7 · 0 solved · 7 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

9.1 Generic classes — copy between boxes

Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task

Fill in the generic method copy so that it copies the item held in from into to. Both boxes hold the same type T.

The program prints src.

Your solution