• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Abstract Factory Pattern?

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys:
i am a bit not clear about with the Abstract Factory Pattern,
It said that the Client interfaces only with the Product interfaces and The Abstract Factory class;
How Is that Gonna Work?
If the Abstract Fatory has 10 implementing concrete class; and How the client is gonna get an instance of The Factory, since it is an abstract, or through a static method, and give it one of the concrete Object(from those concrete classes).
-----
Imed
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Abstract Factory Pattern is to provide an interface for creating families of related Objects without specifying concrete classes"-GOF87
For easy understanding visit https://coderanch.com/t/150837/java-Architect-SCEA/certification/Design-Patterns
for all creational patterns.
 
reply
    Bookmark Topic Watch Topic
  • New Topic