Replies: 1 comment
-
|
Please ignore - it was answered during class |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
CollectionsAssignmentTest.containsDuplicates:42 IndexOutOfBounds Index 12 out of bounds for length 10
I keep getting the following error because the code at line 42: numbers.remove(12) - tries to remove the value at index 12 instead of the actual object 12. Is this an error with my code or should it be **numbers.remove(Integer.valueOf(12));
Beta Was this translation helpful? Give feedback.
All reactions