#BlueJ class context comment0.target=exercises comment0.text=\r\n\ Exercises\ for\ arrays.\r\n\ There\ are\ 2\ main\ things\ to\ practice,\ adding\ to\ arrays,\ iterating\ through\ them\ whether\ it\ is\ printing\ them.\r\n\ \r\n\r\n comment1.params= comment1.target=exercises() comment1.text=\r\n\ This\ is\ created\ when\ exercises\ objects\ are\ created.\ This\ means\ the\ pets\ variable\ can\ be\ accessed\ anywhere\!\r\n comment2.params= comment2.target=void\ printAllItems() comment2.text=\r\n\ Uncomment\ the\ following\ code\ and\ see\ what\ happens\!\r\n\ Can\ you\ add\ 3\ more\ things\ to\ the\ items\ array\ and\ print\ the\ updated\ array?\r\n comment3.params= comment3.target=void\ findTotal() comment3.text=\r\n\ use\ a\ for\ each\ loop\ to\ find\ the\ total\ of\ the\ numbers\ in\ the\ array.\r\n\ You\ will\ need\ a\ extra\ variable\!\r\n comment4.params= comment4.target=void\ findLargest() comment4.text=\r\n\ Use\ a\ for\ each\ loop\ to\ find\ the\ largest\ number\ in\ the\ array.\r\n\ Again,\ you\ will\ need\ variables\!\r\n comment5.params= comment5.target=void\ userLargest() comment5.text=\r\n\ Have\ the\ user\ enter\ a\ number.\ You\ tell\ them\ how\ many\ of\ the\ numbers\ are\ larger\ than\ the\ one\ they\ entered.\r\n comment6.params= comment6.target=void\ petAdd() comment6.text=\r\n\ Create\ 5\ pets\ and\ add\ them\ to\ the\ pets\ array.\r\n\ Then\ print\ out\ the\ entire\ array\ with\ a\ for\ each\ loop\r\n comment7.params= comment7.target=void\ petCount() comment7.text=\r\n\ Find\ how\ many\ cats\ and\ dogs\ are\ in\ the\ array\ "pets"\r\n comment8.params= comment8.target=void\ petWeightTotal() comment8.text=\r\n\ Find\ the\ total\ weights\ of\ all\ the\ pets\ in\ the\ array\!\r\n comment9.params= comment9.target=void\ petWeightUsers() comment9.text=\r\n\ Ask\ the\ user\ for\ pets\ until\ the\ input\ "stop/quit/whatever\ you\ are\ used\ to"\r\n\ For\ each\ pet\ they\ enter,\ you\ will\ need\ to\ ask\ them\ what\ type\ it\ is,\ and\ their\ weights.\r\n\ \r\n\ Then\ print\ out\ how\ many\ pets\ were\ recorded\ and\ list\ them\ all\ with\ their\ wieghts.\r\n\ \r\n\ Extension\:\ Implement\ a\ "undo"\ button\ after\ a\ pet\ is\ added.\ While\ this\ is\ an\ extension\ for\ now,\ you\ will\ need\ this\ to\ pass\ the\ assessment\!\r\n numComments=10