Discussion:
Error
(too old to reply)
Prashant
2005-02-06 01:28:04 UTC
Permalink
For some reason i a mgetting the following error in my polynomialAsArray
class constructor.

"Implicit super constructor Rational() is undefined. Must explicitly invoke
another constructor"

does anyone have any ideaas why? I have my rational constructor as public
and it is visible to another class that i am using it in (to test the
polynomial as array class).

- Prashant
prashant
2005-02-07 01:09:56 UTC
Permalink
I got to the point where, when i include a Rational() constructor with no
parameters, i get rid of the problem and now i have 2 more questions.
Q1. Are we allowed to include this constructor?
Q2. why was the compiler looking for this constructor?

- Prashant
Post by Prashant
For some reason i a mgetting the following error in my polynomialAsArray
class constructor.
"Implicit super constructor Rational() is undefined. Must explicitly invoke
another constructor"
does anyone have any ideaas why? I have my rational constructor as public
and it is visible to another class that i am using it in (to test the
polynomial as array class).
- Prashant
Cole Stewart
2005-02-07 03:49:40 UTC
Permalink
Post by prashant
I got to the point where, when i include a Rational() constructor with no
parameters, i get rid of the problem and now i have 2 more questions.
Q1. Are we allowed to include this constructor?
Q2. why was the compiler looking for this constructor?
- Prashant
Do you have your rational project included in the build path of your
external test project? If you're using Eclipse, I would right click on
the project and check the properties.

Cole
Post by prashant
Post by Prashant
For some reason i a mgetting the following error in my polynomialAsArray
class constructor.
"Implicit super constructor Rational() is undefined. Must explicitly
invoke
Post by Prashant
another constructor"
does anyone have any ideaas why? I have my rational constructor as public
and it is visible to another class that i am using it in (to test the
polynomial as array class).
- Prashant
Loading...