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:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.