Skip to content

Instantly share code, notes, and snippets.

@ProZhar
Created December 3, 2015 09:22
Show Gist options
  • Save ProZhar/72eb741f318e28ed926a to your computer and use it in GitHub Desktop.
Save ProZhar/72eb741f318e28ed926a to your computer and use it in GitHub Desktop.
com.javarush.test.level08.lesson11.home07
package com.javarush.test.level08.lesson11.home07;
/* Переставь один модификатор static
Переставь один модификатор static, чтобы пример скомпилировался.
*/
public class Solution
{
public static int A = 5;
public static int B = 2;
public int C = A*B;
public static int D = B*A;
public static void main(String[] args)
{
}
public int getValue()
{
return D;
}
public int getValue2()
{
return C;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment