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!".

Reset

Practice a different Java exercise