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

 

srp4379@lausd.net quiz4 > conCat2
prev  |  next  |  chance

String conCat2(String a, String b): Returns a concatenation of the two strings. The shorter string will PRECEDE the longer string. If the strings are the same length, return b + a;


conCat2("abc", "XYZ") → "XYZabc"
conCat2("Help", "Nobody") → "HelpNobody"
conCat2("0123456789", "ABCDEFG") → "ABCDEFG0123456789"

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

String conCat2(String a, String b) { }

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

Copyright Nick Parlante 2017 - privacy