Java Programming Language MCQ Declaration and Access Control in Java
⚠ Report ✓ Question Verified Copy Link
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"; } }
Learn More MCQ Questions from Java Programming Language MCQ Declaration and Access Control in Java