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

 

String-1 > makeAbba
prev  |  next  |  chance

Given two strings, a and b, return the result of putting them together in the order abba, e.g. "Hi" and "Bye" returns "HiByeByeHi".


makeAbba("Hi", "Bye") → "HiByeByeHi"
makeAbba("Yo", "Alice") → "YoAliceAliceYo"
makeAbba("What", "Up") → "WhatUpUpWhat"

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

public String makeAbba(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: 106.0 Post-solution available

Copyright Nick Parlante 2017 - privacy