Thanks for the link Jane.
I really didn't expect a reply from the author of one of my favourite books!
As for the question, I'll take your
word for it.Actually I came across this Qn in one of the mock exams(having trouble in finding out which!).It looked something like this,
class Base
{
int i;
}
class Derived extends Base implements java.io.Serializable
{
float f;
}
Maybe I misunderstood the context of implicit & explicit constructors,but I'm positive that it stressed the need for a constructor in the Base class if the Derived was to implement Serializable without announcing errors.So Mike,can you please help me construct the Qn. first and then provide an answer perhaps?
Thanks a ton!