aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Confusion with exam objective Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Confusion with exam objective" Watch "Confusion with exam objective" New topic
Author

Confusion with exam objective

Andy James
Ranch Hand

Joined: Aug 22, 2005
Posts: 90
Hi!

The OCP Java & exam objective states - "Design and create objects using a factory, and use factories from the API".

Does this pattern only include the "Factory Method" or "Simple Factory" pattern which includes creation of a factory method that return the exact subclass object based on the arguments passed to the method? Example -

Or it also includes Abstract Factory Pattern?

Cheers,
Andy
Enkita mody
Ranch Hand

Joined: Aug 06, 2012
Posts: 333

I think it is better to leave this chapter for last,so whenever you will buy any exam simulator, you will get some idea through questions on it.


OCA7
 
jQuery in Action, 2nd edition
 
subject: Confusion with exam objective