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 All, The code below contains two classes, and an inerface. In class Planet, shouldn't the Star object orbiting be instantiated before it can use the method describe()? Without instantiating the Star class it compiles, but gives a NullpointerException, as it should, during execution. Can someone please tell me if I am right? Mughal keeps a nice Errata page, but this isn't on it, so I am curious as why it isn't.