> I have 3 classes one parent class and 2 child classes both the child
> classes have 1 error C:\MarkedModule.java:11: cannot resolve symbol
> symbol : constructor Modules ()
<I think...>
It's looking for a constructor that takes no arguments for the implicit
call to super() done by child classes. You did not provide such a
contructor in that class (Modules).
In the Modules class, you need the default constructor with no arguments
defined. OR you need to actually call super() with the proper number of
arguments in the child classes.

Signature
--
~kaeli~
Synonym: the word you use in place of a word you can't
spell.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
Ryan Stewart - 19 May 2004 02:49 GMT
> > I have 3 classes one parent class and 2 child classes both the child
> > classes have 1 error C:\MarkedModule.java:11: cannot resolve symbol
[quoted text clipped - 9 lines]
> defined. OR you need to actually call super() with the proper number of
> arguments in the child classes.
Correct. When using inheritance, you must either:
1) have a default constructor in the super class,
2) for each constructor in a sub class, have a constructor with the same
signature in the super class, or
3) within any constructor in a sub class that does not correspond (by
signature) to a constructor in the super class, call a constructor in the
super class with super(...).