Answer Posted / faizanul haque
Poly means "many" and morph means "form" that means an entity existing in many form is set to be polymorphic in nature and its mechanism in known as polymorphism. The example of polymorphism is :
1. Method overloading.
2. Method Overriding.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
c++ program to swap the objects of two different classes
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
Why is static class not inherited?
what is the drawback of classical methods in oops?
write string class as your own class in java without using any built-in function
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
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
hi all..i want to know oops concepts clearly can any1 explain??
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’.
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is an advantage of polymorphism?
What is destructor give example?
What is variable example?
What is the difference between procedural programming and oops?