first off sorry if this question has been asked before (if it has i couldn't find it)
this is my code
public class Methods {
    public static void main(String[] args) {
        String playerOne = "this is blank";
        lols(playerOne);
        System.out.println(playerOne);
    }
    
    public static String lols(String playerOne) {
        playerOne = "this is filled";
        return playerOne;
        
    }
}
I want the playerOne String to change to "this is filled" but when it prints it says "this is blank"
i am unsure why this code is not working.
thanks for the help.
 
     
    