<<< Prototype Structure     Index     Singleton >>>

17. Prototype Sample


  • The Prototype ( download ) sample illustrates a "record system" for cars, bikes, and people.

  • The RecordFactory class creates necessary prototypical instances of Records.

  • Each record type implements the clone( ) operation to manufacture exact copies.

    Prototype Sample

<<< Prototype Structure     Index     Singleton >>>