A boolean method for editing an object in an ArrayList
<p>I am currently working a program that creates Cone objects and adds them to an ArrayList. You are then the user is able to type in certain char's to get certain feedback or abilities to do stuff with the cones. I am currently stuck on a method where you need to be able to edit the radius or height of a cone that is in the array list. You choose the cone by typing in its label. Cone has three parameters (label, height radius). this is what the instructions are for the method - </p>

<p>"Takes three parameters (label, height, and radius), uses the label to find the
corresponding the Cone object. If found, sets the height and radius to the values passed
in as parameters, and returns true. If not found, simply returns false. "</p>

<p>Can't seem to even begin where to start other than method stub. Any help would be great. Thanks.</p>