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?

26th Jul 2016, 12:55 PM
Dale McGorman
Dale McGorman - avatar
1 Antwort
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.
7th Aug 2016, 8:38 AM
Mi You