@@ -0,0 +1,659 @@
+/** %0D%0A * Calculator%0D%0A * @author asafiullin%0D%0A * @since 21.02.2016%0D%0A * @version 1%0D%0A*/%0D%0Apackage calculator;%0D%0A%0D%0A//Create a class%0D%0Apublic class Calculator %7B%0D%0A%0D%0A//%D0%92%D0%BD%D1%83%D1%82%D1%80%D0%B5%D0%BD%D0%BD%D0%B5%D0%B5 %D0%BF%D0%BE%D0%BB%D0%B5 %0D%0A%09private double result;%0D%0A%09private double first%0D%0A%09private double second;%0D%0A%7D%0D%0A%0D%0A%09public static void main(double result) %7B%0D%0A%09%09%09this.result = this.result + first;%0D%0A%09%09%09this.result = this.result + second;%09%09%0D%0A%09%7D%0D%0A%0D%0A//Method add%0D%0A%09public void add%7B%0D%0A%0D%0A%09%09Calculator calculator = new Calculator();%0D%0A%09%09double first = 1;%0D%0A%09%09double second = 2;%0D%0A%09%09getResult(calculator);%0D%0A%09%09System.out.println(this.result);%0D%0A%0D%0A%09%09%7D%0D%0A%09public void getResult(Calculator getResult) %7B%0D%0A%09%09CagetResult.result;%0D%0A%09%7D%0D%0A%0D%0A%0D%0A%0D%0A%7D%0D%0A

Update Calculator.java