аргументы командной строки

Ребята, вот условие задачи: Write a class that implements functionality of defining the greatest common divisor of two whole positive numbers passed to the application as the command line parameters. Написал метод: `

public static int gcd(int a, int b) {
    if (b == 0)
            return Math.abs(a);
        return gcd(b, a % b);

А как передать эти числа в виде аргументов командной строки?


Ответы (0 шт):