This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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?