X330: concatStrings

Given an array of Strings, return a single String that is made up of all strings in the array concatenated together in order. For example, if the array contains {"John", "Paul", "George", "Ringo"}, the string returned would be "JohnPaulGeorgeRingo".

Examples:

concatStrings({"John", "Paul", "George", "Ringo"}) -> "JohnPaulGeorgeRingo"
concatStrings({"One", "Two", "Three"}) -> "OneTwoThree"

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.