Answer Posted / farhan asad
polymorphion:
The ability of objects of one type to have one and the same interface, but different implementation of this interface.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is protected in oop?
write a program that takes input in digits and display the result in words from 1 to 1000
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
to find out the minimum of two integer number of two different classes using friend function
What is polymorphism and its types?
any one please tell me the purpose of operator overloading
Write a program to sort the number with different sorts in one program ??
What is abstraction in oop with example?
write a program to find 2^n+1 ?
What is destructor example?
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 point of oop?
What is encapsulation and abstraction? How are they implemented in C++?
What is use of overloading?
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