Skip to main content
1 of 2
panda
  • 11
  • 1

Interfaces in Java

So I have a class cat which implements a interface Vocal, I was wondering why when i created a ArrayList(Vocal) I was able to add cats to it?

Thank You

panda
  • 11
  • 1