can you give real time example for polymarphism
Answer Posted / ayesha
carbon have different forms
Diamond
graphite
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Who invented oop?
What does enum stand for?
Why is oop better than procedural?
What is debug class?what is trace class? What differences are between them? With examples.
How to improve object oriented design skills?
What is encapsulation in oop?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
How to call a non virtual function in the derived class by using base class pointer
what is the sylabus for priliminaries?
Why multiple inheritance is not possible?
Is oop better than procedural?
Write a c++ program to display pass and fail for three student using static member function
Why do we use inheritance?
Can static class have constructor?
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