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

What is the output of the program?

public class MathOperations {
    static int number = 10;

    static int multiplyByNumber(int factor) {
        return number * factor;
    }
    
    public static void main(String[] args) {
        System.out.println(MathOperations.multiplyByNumber(3));
    }
}