User Tools

Site Tools


click_boxes_lab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
click_boxes_lab [2018/11/22 17:59] cthielclick_boxes_lab [2018/11/22 18:03] cthiel
Line 7: Line 7:
 You can see how it is supposed to work with this jar file: [[https://mathorama.com/apcs2/ClickBoxes.jar|ClickBoxes.jar]] You can see how it is supposed to work with this jar file: [[https://mathorama.com/apcs2/ClickBoxes.jar|ClickBoxes.jar]]
  
-{{ :box.java |Box.java}}+You will need the Box class which has some static Arrays and a static method about the color palette. {{ :box.java |Box.java}}
  
  
 +Your job is to complete the remove method of the ClickBoxes class.  You will need to to go through the ArrayLis called boxes and look to see if it matches the color you care removing.  If it does, remove it from boxes,  If if doesn't match, look for the next.  Here is the starter code:
 {{ ::clickboxes.java |ClickBoxes.java}} {{ ::clickboxes.java |ClickBoxes.java}}
  
click_boxes_lab.txt · Last modified: 2018/11/23 12:19 by cthiel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki