title: using a variable in constructor in a method outside of constructor
body: <p>if i have a constructor like so:</p>
  
  <pre><code>    public Constructor (int a, int b){
  
          int c =  a;
          int d =  b; 
      }
  </code></pre>
  
  <p>How can i then use variable c and d in a method within the same class as the constructor because trying to use just the variables name in the method doesn't seem to work?</p>