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

What is the output of the following code?

public class Test {
    public static void changeValue(int number) {
        number += 50;
    }

    public static void main(String[] args) {
        int num = 10;
        changeValue(num);
        System.out.println(num);
    }
}