0
What is the point of having an abstract class?
if you remove the interface animal section and implements animal from the cat class, you get the same output. is it just to show a list of the methods you can use?
1 Answer
0
interfaces enforce programmers to use methods listed. it's not necessary to use an interface. however it can be useful. particularly when sharing code frame works.