0
What will be the output?public class Test{ public static void main(String[] args){ String value = "abc"; changeValue(value); System.out.println(value); } public static void changeValue(String a){ a = "xyz"; }}
- Aabc
- Bxyz
- CCompilation fails
- DCompilation clean but no output
- ENone of these
Correct answer: A