What will be the output of the above code?
public class Main {
public static void main(String[] args) {
String text = "Hello";
changeText(text);
System.out.println(text);
}
public static void changeText(String t) {
t = "Goodbye";
}
}