File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
I am preparing for the OCP Java7 certification. I am unable to understand the following exam objective:

"Apply object composition principles"

Can anyone please help explain this objective. Are there multiple composition principles or just one - define a variable of type A in type B, if you want to use the functionality of A in B, rather than maling type B inherit type A?

cheers
Andy
Andy James
Ranch Hand

Joined: Aug 22, 2005
Posts: 90
Can anyone please answer to this query?

Andy
 
Consider Paul's rocket mass heater.
 
subject: Confusion with exam objective