✅ Default interface methods - Am I using them wrong?
I'm trying to learn when/where to properly use interfaces, and I don't understand why my default method doesn't work.
I have this:
Creating a new instance of
Maybe I'm just overlooking something simple, but I don't understand :/
I have this:
Creating a new instance of
Employee should give me access to employee.Foo(), but it doesn't.Maybe I'm just overlooking something simple, but I don't understand :/