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

What is the output of the program?

public class Test {
    int num;
    int num2 = 5;

    void multiply() {
        num = num2 * 2;
    }

    public static void main(String[] args) {
        Test t = new Test();
        t.multiply();
        System.out.println(t.num);
    }
}