reset password
Author Message
HuyNguyen
Posts: 4
Posted 20:39 May 08, 2019 |

For part 2 of the assignment, did you want us to create a Seafood object for the MahiMahi or did you want us to use clams for MahiMahi?

msargent
Posts: 519
Posted 10:28 May 10, 2019 |

You should create a SeaFood interface if it doesn't already exist, and have MahiMahi implement it, to fit the pattern.

bcarter
Posts: 5
Posted 09:05 May 12, 2019 |
msargent wrote:

You should create a SeaFood interface if it doesn't already exist, and have MahiMahi implement it, to fit the pattern.

Doesn't this break the design pattern as we were explicitly told not edit old files? How could the Pizza.java output information about seafood if we don't add our own code to it?

msargent
Posts: 519
Posted 07:14 May 13, 2019 |

It's ok here, since seafood isn't in the ingredients interface.

Last edited by msargent at 07:14 May 13, 2019.