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

 

sspiege3@schools.nyc.gov arrays2 > arrayBackwards
prev  |  next  |  chance

Given an array of integers named vals, write the method arrayBackwards such that it returns a String with all of the elements concatenated such that the last element appears first.


arrayBackwards([12, 34, 56, 78, 90]) → "9078563412"
arrayBackwards([123, 345, 567, 789]) → "789567345123"
arrayBackwards([1111112, 2]) → "21111112"

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

public String arrayBackwards(int [] nums){ }

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