User Tools

Site Tools


project:week02

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

Examples

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

Examples

Lab

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