title: Passing a class' own methods as arguments to constructor: how does this work?
body: <p>Today I was looking at some prewritten code for a project I am working on and stumbled across something I had never seen before: arguments to a constructor that consisted of the class' own methods. Here is an example</p>
  
  <pre><code>SampleFw sampleFramework = new SampleFw(getName(), getType());
  </code></pre>
  
  <p>In this case getName() and getType() are both methods defined only in SampleFw. What exactly happens when this call to the constructor is made?</p>