CSC 216 Lecture Notes - Lecture 14: Array Data Structure, The Queue, Linked Data

77 views3 pages
17 Oct 2016
School
Course
Professor

Document Summary

*** note: these notes are incomplete due to illness, which caused me to miss part of class. Drawingpanel pane12 = pane11; //same window pane12. setbackground(color. cyan); //sets both pane11 and pane12 to cyan. It(cid:859)s (cid:374)ota(cid:271)le that o(cid:271)je(cid:272)ts (cid:272)a(cid:374) store refere(cid:374)(cid:272)es to other o(cid:271)je(cid:272)ts as fields. These are the variables you put at the beginning of the class, like the string name in book: powerpoint examples: Htmlvalidator stores a reference to a queue. The queue stores many references to htmltag objects. Each htmltag object stores a reference to its element string. Null: a value that does not refer to any object; any unset reference fields of an object are initialized to null: example: Given this code, if you were to look into the timmy object you would see that name = null, and id = 0: things you can do with null: Store null in a variable or an array element. String s = null; words[2] = null;

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