This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I want everytime I instantiate Child1 or Child2 or any other class that extends Parent, that child class will always have an instantiated B. AFAIK, constructors are not inherited in java, so how do I do this without writting the same piece of code to specifically instantiate B in every child class? thanks