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

 

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

Write a program that accepts a person's name and then returns a single string with "Hello " followed by that person's name. For example, if 'person' is "Tom" you would return "Hello Tom".


shadow2025_04_02_sayHello("Jackson") → "Hello Jackson"
shadow2025_04_02_sayHello("Anthony") → "Hello Anthony"
shadow2025_04_02_sayHello("Tom") → "Hello Tom"

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

public String shadow2025_04_02_sayHello(String person) { }

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

Copyright Nick Parlante 2017 - privacy