Tag Archives: Interface

Coding to Interfaces

One of the very basic key to writing good Java code is coding to interfaces. Coding to interfaces helps decouple code and helps to focus more on the ‘contract’ rather than the implementation. Having interfaces talk to each other introduces a level of abstraction between each other. It also gives a lot of flexibility in your coding. Continue reading

Posted in Best Practices | Tagged , , | Leave a comment