wood burning stoves
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

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Confusion with exam objective" Watch "Confusion with exam objective" New topic

Confusion with exam objective

Andy James
Ranch Hand

Joined: Aug 22, 2005
Posts: 90

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?

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.

Have you checked out Aspose?
subject: Confusion with exam objective
It's not a secret anymore!