Answer Posted / ranjit kumar nayak
inheritance is single bcoz it sharing the property between
two classes.one is called parent another is child.
| Is This Answer Correct ? | 75 Yes | 21 No |
Post New Answer View All Answers
What is interface in oop?
What is a function in oop?
What is an example of genetic polymorphism?
What is polymorphism in oop example?
what is the sylabus for priliminaries?
Which is better struts or spring?
What is encapsulation with example?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is static in oop?
Where You Can Use Interface in your Project
What is encapsulation and abstraction? How are they implemented in C++?
What does it mean when someone says I oop?
How is polymorphism achieved?
Why is oop useful?
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