CS 1114 Lecture 12: CS-1114 - Notes - Week 12
Document Summary
Homework: see string methods on last slide of week vii notes. Test ii write an arithmetically-controlled loop w/ list (review codingbat); write code dealing with a list (add, remove, repeat over all elements know the difference between list and arraylist) Upcoming assignments: begin lab xii due f, 11/10 at 16:30; test ii is w, 11/15. Test ii review: chapters iv, vi, & vii. Notes: ***note: streams and lambdas are not on the test! Recall ~ references are stored in reference variables (such as fields, parameters, or local variables) that refer to objects (not primitive data int, double, char, etc. ). Primitive data values do not use reference variables. A reference variable may over time refer to different objects. Test ii question: if a variable name is used multiple times, the name with the closest declaration is used; however, this. variablename = ; refers to the field. Looping and idioms exiting early from a loop.