what is runtime polymorphism? For the 5 marks.

Answer Posted / mayank kumar

run time polymorphism is also called late binding
polymorphism. it uses the concept of pointer.
e.g,
function overloading
operator overloading
constructor overloading

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between data abstraction and encapsulation?

824


Advantage and disadvantage of routing in telecom sector

1005


Which language is pure oop?

742


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

2796


What do you mean by overloading?

788


Can main method override?

817


What is byval and byref? What are differences between them?

1927


What is the advantage of oop over procedural language?

835


#include #include #include #include void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort

2306


Why is abstraction used?

826


What is inheritance in oop?

791


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2258


What are oops methods?

745


What is encapsulation in oop?

774


State what is encapsulation and friend function?

922