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 X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.
what is c++
What does it mean to declare a member variable as static?
What is a pointer with example?
Name four predefined macros.
Explain how a pointer to function can be declared in C++?
Is the declaration of a class its interface or its implementation?
What is rvalue?
What is the best it certification?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
Can we declare a base-class destructor as virtual?
Why should you learn c++?