I am having an issue with a subclass. When I put in the code
package Ch1Pkg;
public class RoundBaseContainer extends BaseContainer{
to implement the superclass of BaseContainer, I am getting an error that says
cannot find symbol
Symbol: constructor BaseContainer()
location: class Ch1Pkg.BaseContainer
I have the files in the same package and am not sure why this is happening. There is not a typo. Here is the first few lines of my BaseContainer.java class file in the Ch1Pkg package.
package Ch1Pkg;
public abstract class BaseContainer implements Container {
The Container that BaseContainer implements is the interface but don't think that has anything to do with it. All files are in the same project and package. I am just stuck on how come this error is happening.
Thank you in advance for any help.