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

 

abraskin@mbusd.org 2016_student_creations_01 > nameOrder
prev  |  next  |  chance

Write a method that puts three names in alphabetical order for the class roster.
When you return the names, separate them by commas.


nameOrder("Amy", "Catherine", "Barbara") → "Amy, Barbara, Catherine"
nameOrder("Rick", "John", "Gary") → "Gary, John, Rick"
nameOrder("Suzy", "Jenny", "Sarah") → "Jenny, Sarah, Suzy"

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

public String nameOrder( String s, String r, String t) }

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

Copyright Nick Parlante 2017 - privacy