AMU 2026 — Computer PYQ
AMU | Computer | 2026What will be the output of the following program?
public class Main {
public static void main(String[] args) {
String str = "TATA";
str = "Bye Bye ";
System.out.println(str);
}
}

What will be the output of the following program?
public class Main {
public static void main(String[] args) {
String str = "TATA";
str = "Bye Bye ";
System.out.println(str);
}
}