title: Instance variable inside static method? how?
body: <p>I have an assignment that I have no idea how to complete. Tried google and everything, still no idea.</p>
  <p>Assignment is:</p>
  <blockquote>
  <p>create a class Calculator witch contains following:</p>
  <ul>
  <li>constant pi (done)</li>
  <li>constructor that accepts two following integers: operand1 and operand2 (done)</li>
  <li>method to print out values of operand1 and operand2 (done)</li>
  <li>instance methods for adding, subtracting, multiplying and division of operand1 and operand2 (done)</li>
  <li>static methods for these same operations that accepts operand1 and operand2 as parameters (not done)</li>
  <li>instance method for calculating area of circle with pi and operand1 (done)</li>
  </ul>
  <p>In main method create object of class Calculator and call all methods and write result of all methods in console.</p>
  </blockquote>
  <p>I don't want anyone writing a code for me, I just need guidelines on how to get operand1 and operand2 as parameters inside static method, because I have no idea how to start.</p>
  <p>I attempted the following code:</p>
  <pre><code>public static int add(operand1, operand2)
  {
      return operand1 + operand2;
  }
  </code></pre>
  <p>and got the following error:</p>
  <blockquote>
  <p>Identifier expected, an object reference is required for non-static field, method or property.</p>
  </blockquote>