What is design pattern?

Answer Posted / reejusri

Design pattern is a general repeatable solution to a
commonly occurring problem . A design pattern is not a
finished design that can be transformed directly into code.
It is a description or template for how to solve a problem
that can be used in many different situations.
Object-oriented design patterns typically show
relationships and interactions between classes or objects,
without specifying the final application classes or objects
that are involved.

Design patterns deal specifically with problems at the
level of software design.

Is This Answer Correct ?    19 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between structure and class?

654


What is the difference between a template and a macro?

670


What is c++ and its uses?

722


What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard

691


Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300

1879






How do you clear a set in c++?

713


If I is an integer variable, which is faster ++i or i++?

689


Why is polymorphism useful?

671


What is #include cstdlib in c++?

770


Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.

732


What is null pointer and void pointer?

711


What is code reusability in c++?

778


Explain object slicing in c++?

687


What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?

665


What do you mean by late binding?

716