Hello every one,
I'm new to java ; The following is my doubt
I have a base abstract class(this cannot be instantiated) which is inherited by 2 classes.
they are asking to create an class which may contain the child classes.
eg : name of the base class is postalobject. this is inherited by a class letter and another class parcel.
therz is another class of length 4 may contain 2 lettres and 2 parcels or 1 lettre and 3 parcels ?
is it possibel to do it ????????????