Is it possible that the confusion might be semantic? It doesn't make a lot of sense that Truck is a sub-class of Car.
-R On Sep 18, 6:21 pm, miga <[EMAIL PROTECTED]> wrote: > On Sep 18, 7:06 pm, dzgaga <[EMAIL PROTECTED]> wrote:> The homework first > says to "Create a subclass of Car class and name it > > as Truck." > > > It then says to "Create a subclass of Car class and name it as Ford." > > > I was just wondering if this wasn't a typo and that what's really > > requested is to "Create a subclass of Truck and name it as Ford" > > Sorry, I've clicked too quickly. > > Are you sure you read well? > Create a subclass of Car class and name it as Truck. > Create a subclass of Car class and name it as Ford. > > Where is the problem? you should have two subclasses of Car class, > Truck and Ford. --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
