I\'ve got a method that creates a String and another method that changes Strings
String
void create(){ String s; edit(s); System.out.printl
try to initialize the string "s" to a null value, since you have declared a variable "s" but it has not been initialized. Hence it can't pass the reference of that variable while used as parameter.
String s = null;
Hope this helps