Why was ProductInterface extended in the following interface
definition?
package myonlineshopusinginterface;
public interface BookInterface extends ProductInterface {
public String getPublisher();
public void setPublisher(String publisher);
public int getYearPublished();
public v
Re: Polymorphism
Dear Group Manager:
Is this link still up to date. I am having trouble viewing it. Says Page Not
Found!
http://liemur.com/Articles/PolymorphismAndJavaInterfaces.html
Respects,
JKid314159
http://existentialists.blogspot.com/
--~--~-~--~~~---
Hi,
the description for the homework says "The homework is to modify the
MyOwnAutoShopProject you did as LAB-1023: Java Inheritance homework to
use Java interface. Here I am going to call the new project
MyOwnAutoShopUsingInterface.
* The task you will have to do is something similar to the
M
It appears as though the following link is broken.The Richard Baldwin tutorials
have been very helpful... they really helped me understand polymorphism... I
had a hard time getting back to the Passion page, a lot of good instruction in
the Baldwin tutorials!Polymorphism
ResourcesPolymorphism
a
In this exercise, we are asked to create the ChildrenBook class with super
constructor like this:
/** Creates a new instance of ChildrenBook */
public ChildrenBook(double regularPrice,
String publisher,
int yearPublished,
int age) {
super(100, "Su
There is an error in the MyOnlineShop project in the sample folder.
The method computeSalePRice in the Book class should be named
computeSalePrice for the exercise to work.
norman.
--~--~-~--~~~---~--~~
To post to this group, send email to javaprogrammingwithpass