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

 

jebbert@volusia.k12.fl.us > sep27_2016_HL_alphaOrder
prev  |  next  |  chance

Write a method that removes all characters that are not lower-case letters from a string and then sorts those characters into alphabetical order. Look at the test data for examples.


sep27_2016_HL_alphaOrder("greetings!!!") → "eegginrst"
sep27_2016_HL_alphaOrder("graph paper") → "aaeghppprr"
sep27_2016_HL_alphaOrder("slacker, quit slacking!") → "aaccegiikkllnqrsstu"

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

public String sep27_2016_HL_alphaOrder(String str) { }

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: 290

Copyright Nick Parlante 2017 - privacy