Python Functions Pass By Reference And Value In Java