Java Best Practices | Code for Interface Not for Implementation | PART-1

Publicado el: 30 marzo 2020
en el canal de: Java Guides
12,295
210

Welcome to Java best practices series. In Part 1, we will learn how to code for interface, not for implementation with an example.

Java best practices playlist at    • Java Best Practices  .

Always program for the interface and not for application; this will lead to flexible code that can work with any new implementation of the interface.

So use interface type on variables, return types of method or argument type of methods in Java.

Read a blog post on my website at https://www.javaguides.net/2020/03/co...


#javabestpractices #javaguides #oops #java


En esta página del sitio puede ver el video en línea Java Best Practices | Code for Interface Not for Implementation | PART-1 de Duración hora minuto segunda en buena calidad , que subió el usuario Java Guides 30 marzo 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 12,295 veces y le gustó 210 a los espectadores. Disfruta viendo!