L05-2 - DeakinUniversity SchoolofEIT Lecture 05-2...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Deakin University chool of IT School of EIT Lecture 05-2 Collections and Dynamic Memory Management
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Objectives After working through this session you should: y Understand the need for one to many relationships between objects and how they are used ; y Understand an n dimensional array as a collection of objects and how to design applications using such arrays; y Be able to develop a software specification using UML class diagrams and UML interaction diagrams that use one to many relationships and show object lifetimes ; and y Be able to design, develop, test, and debug programs that exploit n dimensional arrays .
Background image of page 2
Outline y The one to many relationship y One dimensional arrays y N Dimensional arrays y Jagged arrays y The System.Array class
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The one to many relationship y There are many problems where a one to many relationship exists , e.g,. y One order contains many books y One investment account contains many stocks ne ass has many students y One class has many students y One flight has many passengers y his is own in UML class diagrams sing This is shown in UML class diagrams using cardinality/multiplicity , e.g.,
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/01/2009 for the course SIT 284 taught by Professor Jam during the Spring '09 term at Alfred University.

Page1 / 13

L05-2 - DeakinUniversity SchoolofEIT Lecture 05-2...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online