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

 

norm.krumpe@muohio.edu > makeStringArray
prev  |  next  |  chance

Given a string, return an array of all the characters in that string. If the string has no characters in it, return an array with no elements in it.


makeStringArray("Hello") → ["H", "e", "l", "l", "o"]
makeStringArray("a") → ["a"]
makeStringArray("") → []

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

String[] makeStringArray(String str) { }

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

Copyright Nick Parlante 2017 - privacy