среда, 18 января 2017 г.

level07.lesson12.home07

package com.javarush.test.level07.lesson12.home07;

/* Переставь один модификатор staticПереставь один модификатор static, чтобы пример скомпилировался.*/
public class Solution
{
    public final static int A = 5;
    public final static int B = 2;
    public final static int C = A*B;

    public static void main(String[] args)
    {
    }

    public  int getValue()
    {
        return C;
    }

}

Комментариев нет:

Отправить комментарий