title: How to create get and set methods for parameters in a class?
body: <p>I have a class I created.</p>
  
  <pre><code>public class mailCustomer {
      public static void main(String[] args) {
          String Name;
          int Id;
          String Address;
          Boolean IsPack;
      }
  }
  </code></pre>
  
  <p>I need to creat get and set methods for my parametrs, Name, Id,Address, IsPack.
  how do I do that, and where do I write them? after the "main" method? in the "main" method?</p>