title: Call method with the previous method answers
body: <p>I was wondering, how you would call a method with the previous method answers. Let's say:
  I have multiple classes, the coolNumber() method, and a addNumber method.</p>
  
  <pre><code>A.coolNumber(); //returns 2
  addNumber(int i); //add 2
  </code></pre>
  
  <p>How would you use the answer of 2 as Int for addNumber();? And use it <strong>like</strong></p>
  
  <pre><code>A.coolNumber().addNumber();
  </code></pre>
  
  <p><strong>NOT</strong> as: addNumber(coolNumber);</p>
  
  <p>I only simplified the question, in reality I am dealing with a singleton and getters and setters methods.</p>