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

 

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

Write a method that returns a string made up of the characters represented by their ASCII value in the 'asciiVals' array. Look at the test data for examples.


test2025_04_17_SL_makeString([49, 50, 51, 52, 53, 54, 55, 56]) → "12345678"
test2025_04_17_SL_makeString([66, 108, 97, 104, 32, 98, 108, 97, 104, 32, 98, 108, 97, 104]) → "Blah blah blah"
test2025_04_17_SL_makeString([67, 111, 110, 118, 101, 114, 116, 105, 110, 103, 32, 102, 114, 111, 109, 32, 65, 83, 67, 73, 73, 32, 116, 111, 32, 97, 32, 83, 116, 114, 105, 110, 103]) → "Converting from ASCII to a String"

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

public String test2025_04_17_SL_makeString(int[] asciiVals) { }

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

Copyright Nick Parlante 2017 - privacy