Answer Posted / karthikse09
one class derived from base class is called inheritance
Is This Answer Correct ? | 51 Yes | 10 No |
Post New Answer View All Answers
Can we override main method?
How oops is better than procedural?
Whats is abstraction in oops?
What is polymorphism what is it for and how is it used?
How can you overcome the diamond problem in inheritance?
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 long to learn object oriented programming?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
Can bst contain duplicates?
What is basic concept of oop?
What is a function in oop?
Why is oop better than procedural?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is destructor give example?
What is overriding in oop?