0
/ 10.0
Write a function in Java that implements the following logic: Given a string name, e.g. "Bob", return a greeting of the form "Hello...
Score: 0 / 10.0
Enter the following answer: public String helloName(String name)
{
String test = "Hello " + name + "!";
return test;
}
Write a function in Java that implements the following logic: Given a string name, e.g. "Bob", return a greeting of the form "Hello...