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

What is the output when local variable shadows a parameter in the following code?

public class Example {
    void print(int number) {
        int number = 50;
        System.out.println(number);
    }
}