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

 

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

Yoda talks backwards. Write a method that accepts three single-word strings. Return a single string that combines those three words in reverse order with a space between each word. Look at the test data for examples.


yodaTalk("this", "is", "first") → "first is this"
yodaTalk("Yoda", "talks", "backwards") → "backwards talks Yoda"
yodaTalk("is", "it", "fun") → "fun it is"

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

public String yodaTalk(String first, String second, String third) { }

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

Copyright Nick Parlante 2017 - privacy