Wednesday, November 29, 2006

OOP 8

Factory Pattern allows clients to get new instances of an object without having to call new. Gives the client a turn-key solution.

Singleton Pattern ensures that E(x).

Iterator Pattern...

Adapter Pattern creates an object that looks like "Bob" to "Alice", but really its just a pointer to Mallory. Also, think about how hashmap works; it doesn't return the collection.

Why is being a subclass harder than being a client?
The developer of the subclass would have to know the details of the superclass.

How does the system do a recursive traversal to reformat text in the GUI to conform to other languages?

Chad Salinas