[Solved] Java interface and abstract class [closed]


From a programming perspective, there isn’t really anything wrong with the code.

I guess what your teacher was getting at is that Fluffy should be an interface and Animal should be the abstract class, but that’s more a design issue than a code issue. You can probably come up with arguments for either side, using imaginary scenarios since no scenario has really been given.

2

solved Java interface and abstract class [closed]