What are advantages and disadvantages of Design patterns?
Answer Posted / shashikant
Design patterns help overcome this problem because they teach the lessons distilled from experience by experts: patterns document expertise. Further, patterns not only describe how software is structured, but more importantly, they also describe how classes and objects interact, especially at run time. Taking these interactions and their consequences explicitly into account leads to more flexible and reusable software.
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
Write about the use of the virtual destructor?
Mention the purpose of istream class?
How does class accomplish data hiding in c++?
Explain the difference between using macro and inline functions?
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
How would you use the functions memcpy(), memset(), memmove()?
Differentiate between a constructor and a destructor in c++.
What are the types of container classes?
Why we use #include iostream in c++?
What does int * mean in c++?
What is a .h file c++?
Show the declaration for a static member variable.
What does ios :: app do in c++?
Explain unexpected() function?
What is the use of default constructor?