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
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