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

 

apcsaArraysConcatThreeStrings


Given an array of three Strings, return a single String made by concatenating the Strings from the array, in the order of the array elements.

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