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 |
If you had the following code: int x = 23; int *y; y = &x; The instruction y++; does what?
What is exception handling? Does c++ support exception handling?
What is a hashmap c++?
In a class only declaration of the function is there but defintion is not there then what is that function?
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
Write any small program that will compile in "C" but not in "C++"?
What do you understand by zombie objects in c++?
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
Program to check whether a word is a sub-string or not of a string typed
What is abstraction c++?
Differentiate between declaration and definition.
How does c++ sort work?