title: How to control the properties of multiple objects?
body: <p>I'm using OOP for a class assignment and I'm still learning basics and I came to ask how you could reference the properties of an object while there are multiple objects.</p>
  
  <pre><code>public class Shirts
  {
    private static int shirtSize;
    private static boolean sleeves;
    private static String color;
    private static String pattern;
    private static double price;
  
    public Shirts(int size, boolean sleeve, String hue, String design, double cost){
      shirtSize = size;
      sleeves = sleeve;
      color = hue;
      pattern = design;
      price = cost;
    }
  </code></pre>
  
  <p>My issue would be that if I create a second object, I can no longer reference the properties of the first object because once the second object is created, all of the variables in the Shirts class are assigned <strong>new</strong> values.</p>
  
  <pre><code>Shirts testA = new Shirts(10,true,"green","stripes",35.00);
  Shirts testB = new Shirts(11,false,"orange","plain",33.00);
  </code></pre>
  
  <p>Is there a quick way around this?</p>