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

 

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

Write a method that accepts a string as an input parameter, then returns an array of each single character from the string in the same order.


stringArraySample1("X") → ["X"]
stringArraySample1("xyz") → ["x", "y", "z"]
stringArraySample1("This") → ["T", "h", "i", "s"]

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

public String[] stringArraySample1(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: 220

Copyright Nick Parlante 2017 - privacy