User Tools

Site Tools


Creating Classes and Methods and Design Notation

Lecture 1

Problem: How can the solution to a problem be broken down into separate components?

  • Data members
  • Methods
    • Accessors
    • Mutators
  • Constructors
  • UML component diagrams
  • public, private, protected, and default


Lecture 2

Problem: How do components work together to solve a problem?

  • Defining and calling methods
  • Passing arguments to methods
    • Formal parameters vs. actual parameters
    • Primitive types
    • Object types
  • Scope
  • Method return values
  • UML interaction diagrams



project/week02.txt · Last modified: 2010/05/11 14:49 by jtk