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

 

jebbert@volusia.k12.fl.us > amazingMashUp
prev  |  next  |  chance

Write a method that accepts an array of strings as an input parameter. Return a string that is created by combining the first character from the first string, the second character from the second string, etc. Note that all strings will be long enough to have the needed character. It is possible that the input array of strings is empty.


amazingMashUp(["just one string"]) → "j"
amazingMashUp([]) → ""
amazingMashUp(["you", "for", "neu", "fexjab", "klwquwz", "abcdeskipo", "tuierwtsx"]) → "youjust"

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

public String amazingMashUp(String[] strs) { }

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

Copyright Nick Parlante 2017 - privacy