I was watching a video (https://www.youtube.com/watch?v=Huj3Jbz-NFw) and here is a picture from it.
My question is: Couldn't class AB be created without using interfaces Such that you hold the A and B objects inside and call them? What information am I throwing away when I say that interface can be ignored.