What is design pattern?

Answers were Sorted based on User's Feedback



What is design pattern?..

Answer / 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

What is design pattern?..

Answer / harichand tewatia

design pattern is the use of
imagination,scientificprinciple to solve the design problem.
it is not a final design.it show only size & shape of any
product

Is This Answer Correct ?    3 Yes 7 No

Post New Answer

More C++ General Interview Questions

If you had the following code: int x = 23; int *y; y = &x; The instruction y++; does what?

2 Answers  


What is exception handling? Does c++ support exception handling?

0 Answers  


What is a hashmap c++?

0 Answers  


In a class only declaration of the function is there but defintion is not there then what is that function?

5 Answers   Hughes,


class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4

4 Answers   Quark,






Write any small program that will compile in "C" but not in "C++"?

4 Answers  


What do you understand by zombie objects in c++?

0 Answers  


True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends

0 Answers  


Program to check whether a word is a sub-string or not of a string typed

0 Answers  


What is abstraction c++?

0 Answers  


Differentiate between declaration and definition.

0 Answers  


How does c++ sort work?

0 Answers  


Categories