All About Java

Object Oriented Principles for Class Design

Object Oriented Principles for Class Design

Executive Summary

Identifying & Designing a OO class is an art. Each Software Architect uses a various techniques to identify the class.

Design principles form the base of noble object-oriented design and design patterns deliver universal repeatable solutions for common software problems.

Principles for Designing an OO Class

However according to OO Design Principles, there are five principles that any software architect must follow when design a OO class:

  1. SRP – The Single Responsibility Principle
  2. OCP – The Open Closed Principle
  3. LSP – The Liskov Substitution Principle
  4. DIP – The Dependency Inversion Principle
  5. ISP – The Interface Segregation Principle


Comments are currently closed.