So I have an interface program called: IstackInterface.java, which contains method declarations and it compiles fine. I put it in a package we call package abc. Now I have another java program called IArrayStack.java that says:
public class IArrayStack implements IStackInterface {
// code goes here
}
But it doesn't compile and says symbol not found for IStackInterface. Both programs have declared package abc, and they're in the same folder. I'm not sure what to do to make this compile.
I am programming in linux.
Please help! I'm stuck and can't even start my program without understanding why this isn't working. Thanks to anyone who replies!