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

 

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

Write a method that accepts an array of strings called 'strs' then returns a single string made by concatenating all the strings in 'strs' with no added spaces (but keeping any spaces that are already in any of the strings).


quiz2023_04_25_APP1SLHL_combine([""]) → ""
quiz2023_04_25_APP1SLHL_combine(["", "", "", "", ""]) → ""
quiz2023_04_25_APP1SLHL_combine(["Do y", "o", "u k", "no", "w w", "he", "n yo", "ur A", "P o", "r I", "B ex", "am i", "s?"]) → "Do you know when your AP or IB exam is?"

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

public String quiz2023_04_25_APP1SLHL_combine(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: 210

Copyright Nick Parlante 2017 - privacy