Exercise:  Array of Objects

                       
1. Declare a class named Item to include private member variables: id, name and
   price.

   





2. Define a public constructor for the Item class.






3. Create public accessor (getter) and mutator (setter) methods for each of
   the member variables.







4. Prepare code to test Item.
   a. Declare an array named items for Item objects. That is, every element of
      items is to be an object with members id, name and price.


      
   b. Define a file pointer for the input file "items.csv".


   
   c. Create a repetition structure with statements to get a line from the input
      file, assign components to simple variables for id, name, and price,then 
      instantiate an Item object and store as an element of the items array.
      Close the file.





      
      
    d. To verify the array of objects was properly loaded, create another loop
       control the printing of each array component.