Answer Posted / nupur
design patterns are the solution of a problem which arises
when developing software within particular context.
each pattern describes a problem which occurs over and over
again in our environment,and then describes a core solution
of that problem in such a way that this solution can be
used again millons of times .
category of design patterns:-
creational:-singleton,protype,abstract etc.
structural:-adapter,bridge,composite etc.
behavioural:-interpreter,iterator,command etc.
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Why is abstraction needed?
Why is oop better than procedural?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Can private class be inherited?
Can destructor be overloaded?
What is polymorphism and its types?
What is encapsulation in oops?
What are the two different types of polymorphism?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is the fundamental idea of oop?
Why is abstraction used?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is the difference between a mixin and inheritance?
What is persistence in oop?