Welcome to the Treehouse Community
Looking to learn something new?
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,307 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.