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

 

tmhscs@gmail.com strings > string_nextLetter
prev  |  next  |  chance

Given a String containing a single word, return a String where every letter is now the next letter in the alphabet. For example, "apple" would become "bqqmf". If you come across a "z", then wrap it around the alphabet and make it become an "a".


string_nextLetter("apple") → "bqqmf"
string_nextLetter("bear") → "cfbs"
string_nextLetter("Computer") → "Dpnqvufs"

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

public String string_nextLetter(String word) { }

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