title: Input stream from classes made by yourself?
body: <p>I'm currently doing an asssignment which requires me to add harnesses to a harness array. I made the class Harness so I can construct new harnesses in the main line. One thing I'm confused about is that I have to make a second class, which does the following.</p>
  
  <p>Design a HarnessRecords data type (Java class) whose values (Java objects) represent the collection of harnesses owned by climbing club, that is, the current characteristics of each harness owned by a climbing club. Your data type must store a list of Harness values (using either an array or an ArrayList) and must provide at least the following operations (Java instance methods):</p>
  
  <p>One of the methods in the class is to use an input stream, which takes the characteristics of the harnesses.
  a constructor which takes an input stream containing the number of harness contained in the stream follow by characteristics values for each harness. The constructor creates a HarnessRecords value containing a Harness value for each one in the input stream</p>
  
  <p>I tried looking up online about input streams but I've still yet to get my head around the concept. Can anyone help me with this problem?
  Thank you.</p>