الرجوع
تسجيل الدخول

Given the following code snippet, what will be the output?

int[] a = {1, 2, 3};
int[] b = a;
b[0] = 5;
System.out.println(a[0]);