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.
I need help with a homework question. I created the following interface:
I'm trying to reference either PowerOn or FixWindow from another class using (although I'm supposed to return a Fixable type..):
I've also tried:
I keep getting the error: "Cannot find symbol: PowerOn()" I've made sure to add the the package name at the top of the interface file and import all files from the package.. Any Help would be wonderful!! [ June 19, 2007: Message edited by: geek_azoid ]
Originally posted by geek_azoid: you say "access to Fixable interface" do you mean by importing the package
Really I mean that if Fixable is in a different package, then it must be public. importing just changes the syntax you can use -- whether you need to specify the package name along with the class name. [ June 19, 2007: Message edited by: Ernest Friedman-Hill ]