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

 
week2.txt · Last modified: 2007/11/18 23:43 by bwittman
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki