Answer Posted / yesudass moses
actually oops is used to boost up the reusability of the code...
For eg. If we create a database row deletion class, we can
inherit and use it to any master...
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
What causes polymorphism?
What is a class oop?
What is difference between inheritance and polymorphism?
Why is oop better than procedural?
What is class encapsulation?
Why do we use class?
Templates mean
what is the drawback of classical methods in oops?
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
How do you achieve runtime polymorphism?
Why multiple inheritance is not allowed?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
Can we override main method?
What is meant by multiple inheritance?