This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Rajiv Rai wrote:Am confused about what the above statement means?
Basically, what it means is that you shouldn't rely on a method having a particular implementation when you call it. And I'd go further and say that the statement applies whether you're using interface inheritance or not.
When tutorials refer to 'behaviour', they usually mean methods; when they talk about 'implementation', they're referring to code. You can call a method without having to know the code it contains.
Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here