Object Oriented Programming paradigm deals with centralizing data and associated behaviours in a single entity. The entities will communicate by message passing.
The high level languages like C++, Java, C#, etc… provide rich features in designing applications. One can learn the language constructs easily. However, few design principles guide the programmer for better utilization of language features. The following principles help programmer to arrive at flexible class design.
- Single Responsibility Principle
- Open Closed Principle
- Liskov Substitution Principle
- Interface Segregation Principle
- Dependency Inversion Principle
All the above five principles are collectively called as SOLID principles. We will have detailed explanation of each principle.
Note that there are few more principles that will be useful in OOD. We will expand the post when respective principles are published (We are sorry, at present the post is a moving target).
Contributed by Venki. Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
- Dependency Inversion Principle (SOLID)
- Case-specific sorting of Strings in O(n) time and O(1) space
- Pricing Models for Amazon EC2
- Management Information System (MIS)
- Paper Battery
- Interesting Facts in C Programming | Set 2
- Sum of an array using MPI
- What is the Role of Java in the IT Industry?
- Storage Management
- Program for Gauss Siedel Method (Computational Mathematics)
- ByteBuffer getChar() method in Java with Examples
- AI Model For Neurodegenerative Diseases
- Introduction to Model View View Model (MVVM)
- Check if the two given stacks are same