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.
Hi Shiva, I could understand the output A1B0 ( the first part of answer) . Could you please explain the remaining part of the answer ?I also have one more doubt. new ppp().new B() ( //line 4 ) . Will this create an instance of B alone or ppp too ?