Computer Science Fundamentals (CS153 2004S)
[Skip to Body]
Primary:
[Front Door]
[Current]
[Glance]
-
[Honesty]
[Instructions]
[Links]
[Search]
Groupings:
[EBoards]
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Readings]
[Reference]
Misc:
[Experiments in Java]
[Java API]
[Scheme Reference]
[Scheme Report]
[CS153 2003S]
[CS151 2003F]
[CS152 2000F]
[SamR]
Back to Arrays. On to Inheritance.
Held: Wednesday, 7 April 2004
Summary: Today we reconsider how to design new objects.
Related Pages:
Assignments:
Notes:
I2I.java and TestI2I.java.Overview:
certain other kinds of objects can't know about this.
realproblems, particularly simulations.
protectionfor your fields and methods in Java.
public fields and methods can be accessed by any other object or class.
protected fields and methods can be accessed by any object in the same or subclasses, class methods and subclass methods, and by objects and class methods for classes in the same package.
private fields and methods can be accessed only by objects and methods associated with the same class.
behind the scenesas it were.
Back to Arrays. On to Inheritance.
[Skip to Body]
Primary:
[Front Door]
[Current]
[Glance]
-
[Honesty]
[Instructions]
[Links]
[Search]
Groupings:
[EBoards]
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Readings]
[Reference]
Misc:
[Experiments in Java]
[Java API]
[Scheme Reference]
[Scheme Report]
[CS153 2003S]
[CS151 2003F]
[CS152 2000F]
[SamR]
Disclaimer:
I usually create these pages on the fly
, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Fri May 7 09:43:25 2004.
The source to the document was last modified on Tue Jan 13 10:26:12 2004.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS153/2004S/Outlines/outline.37.html.
You may wish to
validate this document's HTML
;
;
Check with Bobby