[HD Pg 230, Sec. 9.1.1 - inheritance-of-state]
Posted: Tue Feb 26, 2019 2:43 pm
I'm probably jumping the gun here, but I wanted to ask,
Looking at "Only a class can contain state and therefore, only a class can extend another class." statement; I wonder since an interface can extend another interface, does it mean an interface can contain a state too?
Looking at "Only a class can contain state and therefore, only a class can extend another class." statement; I wonder since an interface can extend another interface, does it mean an interface can contain a state too?