what is runtime polymorphism? For the 5 marks.

Answer Posted / karthika

By the name denotes it allocate memory at the run time.
It is done by using virtual function and inheritance.
It uses pointer since it is executed at run time.it create
reference for the base class.so it takes many forms for the
same object.
eg method overiding.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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’.

1970


How do you define a class in oop?

830


What is destructor in oop?

779


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4455


what is graphics

2191


Why is encapsulation used?

743


what are the realtime excercises in C++?

2526


Why is destructor used?

743


What is polymorphism in oops with example?

740


What are oops functions?

765


What are the two different types of polymorphism?

864


What is static in oop?

808


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2347


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1677


Which is not an object oriented programming language?

710