Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJohn Yeung
388 Pointshow do we remove an element from a Java array?
stackoverflow told me to call .toList() and then .remove() but the code challenge gave me a compiler error
1 Answer
Romain Vallade
8,859 PointsYou would need to transform your Array into a List first and then call "remove()" (or use a List in a first place...). But usually code challenges do not require such thing... Which challenge is it?
Kristen Law
16,244 PointsKristen Law
16,244 PointsWhich code challenge are you on?