创建一个方法,返回一个由变量和字符串组成的字符串,具体要怎么做
public String sayHello(String name){ return "hello " + name;//name是变量,hello是常量字符串 }