[Solved] Java interface and abstract class [closed]

[ad_1]

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

[ad_2]

solved Java interface and abstract class [closed]