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? When and where is it used?
write a program to find 2^n+1 ?
What is ambiguity in inheritance?
What is object in oop with example?
What is data binding in oops?
What is the real life example of polymorphism?
How do you define social class?
What is class encapsulation?
Can private class be inherited?
What is object-oriented programming? Webopedia definition
class type to basic type conversion
Can we define a class within the interface?
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 types of inheritance?
What is a class in oop?