CS 1114 Lecture Notes - Lecture 9: Javadoc, Local Variable, Railways Act 1921

90 views3 pages

Document Summary

Homework: reading viii (textbook chapter vi) due s, 10/29 at 23:59; homework vii due s, 10/29 at 23:59. See string methods on last slide of week vii notes. Upcoming assignments: begin lab ix due f, 10/27 at 16:30; begin program iii due w, 11/01 at 23:59. Notes: real-world examples include personal organizers, library catalogs, and student-record systems. Also, note that the number of items to be stored varies with items being added and/or deleted. Maps are a dictionary-like group of pairs, where one can look up one item and find what other piece of information is associated with it. Class libraries include collections of useful classes, so everything doesn"t have to be written from scratch. Collections are known as parameterized or generic types. One can use add, remove, size, contains, etc. Keeps the objects organized internally; details of how this is done are hidden. For-each loops: example: for(elementtype name : somecollection)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents