You can, however, let a base reference point to a derived object:
Product pr = new MusicCD(...);
This is how you make the ProductList work. You can have it store a mixture of all Product subclasses.
|
Results 1 to 40 of 41
Thread: Help with inheritance....Threaded View
|
Click Here to Expand Forum to Full Width |