Hi,

 I'm following the examples from Java Polymorphism class using  method
overriding, abstract classes and interfaces. I would have some questions
about the samples provided:

1) For ChildrenBook classe is there are reason why we use "super(100,
"Sun press", 2002);" and not more general
"super(regularPrice,publisher,yearPublished) ?

2) For abstract classes implementation of MyOnlineShop: Product is an
abstract class, Electronics the same. Why Book is not an abstract class
as well ?

Thank yuo!

Regards,
Ovidiu

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