C SC 225 Lecture 3: Designing a Class

[ previous | schedule | next ]

Alternate Implementations

Defining an ordering over a class

Non-public Classes

Jia on organizing class members

Jia on Canonical form of a class

Public Fields

Private Methods

Deprecated Methods

Immutable Classes

final in Java

const in C++

Separate roles of Accessors and Mutators

Law of Demeter

Class quality from client's viewpoint

Contract between class designer/implementer and its client

Testing your class


[ C SC 225 | Peter Sanderson | Math Sciences server  | Math Sciences home page | Otterbein ]

Last updated:
Peter Sanderson (PSanderson@otterbein.edu)