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

 

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

Look at the test data. Your goal is to write a method that matches this test data. Part of the challenge is to figure out what the method is supposed to do, so look carefully at the test data! HINT: The method name kind of gives it away too!


test2022_04_21_APSLHL_swapFrontBack("") → ""
test2022_04_21_APSLHL_swapFrontBack("Amazing") → "zingAma"
test2022_04_21_APSLHL_swapFrontBack("ABCDEFGHIJKLMNO") → "HIJKLMNOABCDEFG"

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

public String test2022_04_21_APSLHL_swapFrontBack(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: 220 Post-solution available

Copyright Nick Parlante 2017 - privacy