reset password
Author Message
jgreen
Posts: 23
Posted 12:15 Oct 18, 2009 |

it says in the homework that the model is to be placed in csns.model.assignment.  Since OnlineAssigment is a subclass of Assignment, does this mean we should create a package under csns.model that is csns.model.assignment, or just put it under csns.model?  Or are we supposed to create the new package csns.model.assignment?

Thanks.

cysun
Posts: 2935
Posted 12:23 Oct 18, 2009 |

A class being the subclass of another doesn't mean they have to be in the same package.

Yes, you need to create a new package csns.model.assignment and put the new model classes there.