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 trial
help me guys
Please fill in the correct answer in each blank provided below. Fill in the blank(s) below: Skip Quiz Review Video Get Help Next Question Add two method names to complete the code below. The first adds the value "Bad Guy" as a character to remove, and the second updates the back-end using the List called 'charactersToRemove':
charactersToRemove.__________("Bad Guy"); characters. ______________(ParseConstants.KEY_CHARACTER_NAMES, charactersToRemove);
Ryan Ruscett23,309 Points
Try add and remove
charactersToRemove.add("Bad Guy"); characters. remove(ParseConstants.KEY_CHARACTER_NAMES, charactersToRemove);
I can't link directly to the quiz you are taking so I can't get a reference of the question as to what topic was covered to see if this answer is write, but you can try it and let me know.
I assume it's a list so these are the two list methods I would use.
farazCourses Plus Student 21,474 Points
It's actually add and removeAll because you have to add the entry to the list and then remove all of them in the list from Parse, as Ben shows in the previous video.