what is mean by design pattern

Answers were Sorted based on User's Feedback



what is mean by design pattern..

Answer / mahesh

to provide a solution for a recurring problem in a great
object oriented system.
design pattern describes the problem which occur over and
over again in our environment and then describes the core of
the solution to that problem in a such way we can use that
solution in a million times over without doing it the same
way twice.

Is This Answer Correct ?    6 Yes 1 No

what is mean by design pattern..

Answer / madhava

design is a order how to develop designs in a specific order

Is This Answer Correct ?    2 Yes 1 No

what is mean by design pattern..

Answer / vikas radadia

order how to develop designs in a specific order

Is This Answer Correct ?    1 Yes 0 No

what is mean by design pattern..

Answer / mahesh

to provide a solution for a recurring problem in a great
object oriented system.
design pattern describes the problem which occur over and
over again in our environment and then describes the core of
the solution to that problem in a such way we can use that
solution in a million times over without doing it the same
way twice.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is the advantage of oop over procedural language?

0 Answers  


how to find no of instances of an object in .NET?

1 Answers   Infosys,


What are the advantages of inheritance?

26 Answers   IBS, TCS,


write a progra in c++ using class & object to find out wheather a given no. is prim or not.

2 Answers  


Differences between inline functions and non-inline functions?

4 Answers   Ness Technologies,






Question In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Question Submitted By :: Sunil Kumar I also faced this Question!! Rank Answer Posted By Re: In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Answer # 1 use copy constructors 0 Shanthila There is something to be taken care in destructor, in copy constructor, suppose the memory is assigned to the embedded member object pointer with the parameter passed value, but if some other objects of different class also are pointing to this memory, then if some one deletes the object then this class member pointer object will become dangling, or if the object is not deleted properly then there will be memory leak. Please suggest the design change required to handle or avoid this situation

0 Answers   TCS,


what are the realtime excercises in C++?

0 Answers   IBM, Wipro,


what is difference between thread and programme.

1 Answers   NCC,


Round up a Decimal number in c++.. example Note = 3.5 is as 4 3.3 is as 3

3 Answers   Accenture, Cognizant, IBM,


what is the drawback of classical methods in oops?

0 Answers  


What is virtual function?where and when is it used?

2 Answers   Sitel,


What do you mean by abstraction?

0 Answers  


Categories