Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement