The client, instead of writing code that invokes the "new" operator on a hard-coded class name, calls the clone() method on the prototype, calls a factory method with a parameter designating the particular concrete derived class desired, or invokes the clone() method through some mechanism provided by another design pattern.
Alla uppgifter som avser föreskrifter för service, kontinuerlig eller rutinmässig övervakning, skötsel och underhållWikiMatrix WikiMatrix