[Skip to Body]
Primary:
[Front Door]
[Current]
[Glance]
-
[Honesty]
[Links]
[Syllabus]
Groupings:
[EBoards]
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Readings]
[Reference]
Misc:
[SamR]
[Java 1.4.2 API]
[Ant Documentation]
Back to Polymorphism (2). On to The UML (1): Objects and Their Relationships.
Held: Monday, 6 September 2004
Summary: We conclude our polymorphism example with further study of factories.
Related Pages:
Assignments
Notes:
Overview:
constructmethods are available.
anonymous inner classes.
new INTERFACE() { IMPLEMENTATIONS_OF_METHODS; }
new CandyMachineFactory() { public CandyMachine newMachine() { return new DoubleCandyMachine( new DoubleCandyMachine( new GumballMachine())); } }
Back to Polymorphism (2). On to The UML (1): Objects and Their Relationships.
[Skip to Body]
Primary:
[Front Door]
[Current]
[Glance]
-
[Honesty]
[Links]
[Syllabus]
Groupings:
[EBoards]
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Readings]
[Reference]
Misc:
[SamR]
[Java 1.4.2 API]
[Ant Documentation]
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 Mon Dec 6 08:49:59 2004.
The source to the document was last modified on Mon Aug 30 08:01:14 2004.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS223/2004F/Outlines/outline.05.html
.
You may wish to
validate this document's HTML
;
;
Check with Bobby