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.
John, Thats an interesting question. I guessed the answer but checked it just in case On working more on your code, I have a strange code here. I dont know how it works but anybody is free to interpret this
The result of this code is Hello A constructor (prints only once) I thought this should print infinitely because we are instantiating a B object in A's constructor and this will in turn invoke A's constructor because A is its superclass Am I missing something? Thanks in advance, Sri :roll: