X6: helloName

Write a function in Java that implements the following logic: Given a string name, e.g. "Bob", return a greeting of the form "Hello Bob!".

Your Answer:

Feedback

Your feedback will appear here when you check your answer.