Java Programming Language MCQ Java Constructor and Methods
⚠ 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 Java Constructor and Methods