Mansukhdeep Thind wrote:But that default constructor of Fern is not the issue here.
Sure it is.
Even if the compiler is inserting it for me, it is not getting invoked at all. So that should not cause any issues I believe. I am calling the overloaded constructor of the super class Marmaduke.
What overloaded constructor? You haven't written one; and the one that Joanne told you about
doesn't overload, because it has a different signature. Furthermore, you're getting a
compiler (ie, a
syntax) error. If the JVM ran into problems running your program, you'd get an
execution error.
Winston