Answer Posted / anamika
with help of virtual keyword we can call all the funtion of
same name used in different class by creating pointer of
the base class
| Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
What is polymorphism programming?
What is solid in oops?
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?
What is data binding in oops?
What is the difference between inheritance and polymorphism?
What are benefits of oop?
Can private class be inherited?
What is abstraction and encapsulation?
What is static in oop?
Which type does string inherit from?
Can we override main method?
How do you achieve polymorphism?
Why do while loop is used?
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’.
What are the 3 principles of oop?