title: Execute certain methods on object creation from constructor
body: <p>Alright, I think this is a faily simple question, but I just can't wrap my head around this. </p>
  
  <p>Lets say I have this pseudo classes with their respective functionalities. Can I call the methods from within the constructor itself, so it launches on object creation?</p>
  
  <p><strong>Class One</strong></p>
  
  <pre><code>public class Apples{
  
      public String a;
      public String b;
  
      Apples(String a, String b){
          this.a = a;
          this.b = b;
          specificMethod();
      }
  
      public void randomMethod(){
          System.out.println(this.a)
      }
  
      public void specificMethod(){
          System.out.println(this.b)
      }
  
  }
  </code></pre>
  
  <p><strong>Class Two</strong></p>
  
  <pre><code>public class Oranges{
      Apples green = new Apples(a,b)
  }
  </code></pre>