I'm pretty new to Java and I would like the following function to change the source variable.
public class DummyClass {
    public void str(String str) {
        str = "";
    }
}
public class Main {
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        String str = "strstr";
        DummyClass classy = new DummyClass();
        classy.str(str);
        System.out.print(str);
    }
}
it prints "strstr" and I would like it to print nothing.