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.
Actually, you can also (additionally to what is stated as correct answer) put in a call to "this();" as first line in the constructor public AgedP(int x). All the components (this, (, ), are present for choosing and the space is provided, too.
It is not necessary, but doesn't do any harm and the question does not say "only chose the minimal variant". In fact, I have even heard people say it is good practice to link different constructors, so that they do not duplicate code used in another one already. If the exam has questions like this, are such things marked false?
The real exam no longer has any "fill in the blank" questions. (It used to.) In the book we do a couple of these in an attempt to roughly emulate the so-called "drag and drop" questions that ARE on the exam. The real "drag and drop" questions require that you fill every box, every time.
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Works Too: Answer to K&B Self Test Chapter 2 No. 7