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

 

bigStrings


Write a method called bigStrings that accepts one String array as a parameter. It should return a new array with only the Strings longer than 5 characters.


bigStrings(["hi", "sweet", "cookie", "icing"]) → ["cookie"]
bigStrings(["computer", "day", "hall", "bird", "dinner"]) → ["computer", "dinner"]
bigStrings(["table", "chair", "bye", "to", "from"]) → []

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

public String[] bigStrings(String [] arr) }

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

Difficulty: 200 Post-solution available

Copyright Nick Parlante 2017 - privacy