What is design pattern?
Answers were Sorted based on User's Feedback
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 |
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 |
class Foo { const int x; protected: Foo(int f); ~Foo(); }; Foo f; Referring to the sample code above, why will the class declaration not compile? a) The variable x is const. b) The destructor is protected. c) The destructor is not public. d) The constructor is protected. e) There is no default constructor.
How many bit combinations are there in a byte?
What is the difference in size of this two clasees? Class A { int a; char c; float f; } Class B { float f; char c; int a; }
Should I learn c++ c?
Is it possible to use a new for the reallocation of pointers ?
Which format specifier is used for printing a pointer value?
How would perform Pattern Matching in C++?
How does class accomplish data hiding in c++?
What are c++ data types?
How is modularity introduced in C++?
What kind of problems can be solved by a namespace?
How to demonstrate the use of a variable?