(35) - ICSI201 CHANGE YOUR CLICKER FREQUENCY Set your...

Info iconThis preview shows pages 1–14. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ICSI201 CHANGE YOUR CLICKER FREQUENCY Set your clicker to frequency A B See the back of your clicker for instructions Do NOT turn your clicker off during class!! Your votes will not register, if you forget to set your frequency RESET your clicker to frequency AB RESET CLICKERS TO FREQUENCY A B Which of these is an advantage of an ArrayList over a standard array? A. You can add new elements to it. B. You can remove elements from it. C. You can insert a new element at a specified location in the ArrayList. D. You do not need to know its size in advance. E. All of the above. RESET CLICKERS TO FREQUENCY A B Which of these is an advantage of an ArrayList over a standard array? A. You can add new elements to it. B. You can remove elements from it. C. You can insert a new element at a specified location in the ArrayList. D. You do not need to know its size in advance. A. All of the above. CSI 201 Introduction to Computer Science wdoane@albany.edu http://bls.its.albany.edu LI 95j Lecture 35 Administrivia RESET CLICKERS TO FREQUENCY A B Administrivia Reminders Labs: All done. Those slots are office hours now. RESET CLICKERS TO FREQUENCY A B Administrivia Program Six Programming Assignment Six is available from the class web page. It is due Monday, December 8 th before midnight. I've made a slight change to the problem specification There is a documented bug in the way the toArray method works Converting from an array to ArrayList Using arrays: public void setPictures(Picture newPictureImageArray) { this.pictureImageArray = newPictureImageArray; } // method Using ArrayList: public void setPictures( List<Picture> newPictureImageArray) { this.pictureImageArray = newPictureImageArray; } // method RESET CLICKERS TO FREQUENCY A B Converting from an array to ArrayList Using arrays: public String getPictureCaption(int index) { return this.pictureCaptionArray[index]; } // method Using ArrayList: public String getPictureCaption(int index) { return this.pictureCaptionArray .get(index) ; } // method RESET CLICKERS TO FREQUENCY A B Converting from an array to ArrayList There are other changes we probably should make, but we can get by on this for now and will discuss the finer points of "refactoring" our code on the last day of class....
View Full Document

Page1 / 39

(35) - ICSI201 CHANGE YOUR CLICKER FREQUENCY Set your...

This preview shows document pages 1 - 14. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online