title: Java, Methods? Or constructors ? I am not sure what to call it
body: <p>I am not sure if you see what I am trying to do here but basically I have a few questions and problems</p>
  
  <p>1)<strong>The part that is called public MethodPractice() ... what is this called? is this considered a constructor a method or what?</strong></p>
  
  <p>2)<strong>The part named MethodPracticeDiff() . . . is this allowed and if so how do I insert it into the main method for execution...
  Do you guys see what I am trying to do here? Basically I want to split the program up into different pieces for example let say I wanted my own space for a calculation method to add to numbers up
  and another method to define the numbers like give them a value
  and a last method with a for loop making the numbers printout 10times</strong></p>
  
  <p>Any who before I make this more confusing than what it is, my question is how do I make this program execute </p>
  
  <pre><code>public class MethodPractice {
      public static void main (String[]args){
  
          MethodPractice add = new MethodPractice();
          //MethodPracticeDiff add2 = new MethodPracticeDiff();
  
  
      }
  
      public MethodPractice() {
          int x = 0;
          int y = 99 ;
          int total = x + y;
          System.out.println(total);
  
  
      }
      public void MethodPracticeDiff(){
          int z = 10;
          int k = 25;
          int total = z + k;
          System.out.println(total);
  
      }
  }
  </code></pre>