id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

konstans@stuy.edu apcs1 > catty2
prev  |  next  |  chance

Delete every element of the ArrayList that contains the word cat or Cat. Return animalsList


catty2([]) → []
catty2(["buffalo", "dog"]) → ["buffalo", "dog"]
catty2(["BatWoman", "frog", "catman"]) → ["BatWoman", "frog"]

...Save, Compile, Run (ctrl-enter)

public List<String> catty2(ArrayList<String> animalsList){ }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Post-solution available

Copyright Nick Parlante 2017 - privacy