Question: https://codingbat.com/prob/p171896 What is the solution code? String-1 > helloName prev next chance Given a string name, e.g. Bob, return a greeting of the form Hello

https://codingbat.com/prob/p171896
What is the solution code?
String-1 > helloName prev next chance Given a string name, e.g. "Bob", return a greeting of the form "Hello Bob!". helloName("Bob") "Hello Bob!" helloName("Alice") "Hello Alice!" helloName("X") "Hello X!" Go ...Save, Compile, Run (ctrl-enter) Show Hint public String helloName(String name) { } Go
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
