title: Java Classes are extremely confusing to me
body: <p>I am having some trouble understanding classes in Java.</p>
  
  <p>Such as how do you declare "Inputter" in the helper class like this?</p>
  
  <pre><code>public class Helper
  {
       public void Helper(String z)
       {
            if(z.length() == 0)
            {
                 System.out.println("You can't leave it blank!");
                 System.exit(1);
                 System.out.println("It's not working... ;(");
            }
       }
  
       public void Inputter(int a)
       {
            // blah blah
       }
  }
  </code></pre>
  
  <p>Would you call it like this?</p>
  
  <pre><code>Helper x = new Inputter();
  </code></pre>
  
  <p>Please help, and NO this is NOT a homework question.</p>
  
  <p>Thanks,
  Smiling</p>
  
  <p>EDIT: Would this be right:</p>
  
  <pre><code>public class Helper
  {
       public Helper(String z)
       {
            if(z.length() == 0)
            {
                 System.out.println("You can't leave it blank!");
                 System.exit(1);
                 System.out.println("It's not working... ;(");
            }
       }
  
       public void Inputter(int a)
       {
            // blah blah
       }
  }
  </code></pre>
  
  <p>and declared with:</p>
  
  <pre><code>Helper x = Helper();
  </code></pre>
  
  <p>And thanks everyone for giving me a warm welcome to StackOverflow! :D</p>