What is design patterns in C++?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / guest
As ex:- Singleton Class is the Class whose you can make only
one object. Dont forget to do googling.
| Is This Answer Correct ? | 3 Yes | 4 No |
What is difference between new and malloc?
what is ns string? what is ns array?
Polymorphism with an example?
How do you explain polymorphism?
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.
What are different oops concepts?
In c++ there is only virtual destructors, no constructors. Why?
What is the example of polymorphism?
what is difference between String s=new String("vali"); String s="vali"
What is abstraction in oop?
What are the benefits of polymorphism?
What is the important feature of inheritance?