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

 

orion.a.smith@gmail.com apcsa-arrays > apcsaArraysConcatThreeStrings
prev  |  next  |  chance

Given an array of three Strings, return a String made up of all the Strings in order.

HINT
You could use a loop, or not. Your choice, since you know the number of array elements beforehand.

apcsaArraysConcatThreeStrings(["a", "b", "c"]) → "abc"
apcsaArraysConcatThreeStrings(["gl", "o", "b"]) → "glob"
apcsaArraysConcatThreeStrings(["a", "ze", "b"]) → "azeb"

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

public String apcsaArraysConcatThreeStrings(String[] arr) { }

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

Copyright Nick Parlante 2017 - privacy