Friday, April 28, 2017

SOLID Design Principles

JDK follows several design principle like Factory Pattern in BorderFactory class,  Singleton pattern in Runtime class, Decorator pattern on various java.io classes.

SOLID Design Principles :
  1. DRY( Don't repeat yourself)
  2. Encapsulate What changes.
  3. Open Closed Design Principles
  4. Single Responsibility Principle
  5. Dependency Injection or Inversion Principle
  6. Favor Composition over Inheritance
  7. Liskov Subsitution Principle
  8. Interface Segregation Principle
  9. Programming for interface not implementation.
  10. Delegation Principle








 

1 comment:

  1. When an product design and development and also established, this is when there is the best possibility to influence and also avoid the environmental and health and wellness threats that may later emerge during the life of the product. By giving info concerning in which way various materials can pose a hazard, PRIO can assist you to prioritise to which compounds you must mainly listen.

    ReplyDelete