In the Java Polymorphism lab part (1.2) Add ChildrenBook and Cartoon,
the constructors for the ChildrenBook and Cartoon classes receive the
parameters regularPrice, publisher, and yearPublished, but the super()
call in each uses hard-wired values:
super(100, "Sun press", 2002);    //from ChildrenBook class
and
super(150, "Sun press", 1978);   //from Cartoon class

Is this as intended?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to