difference between the run time polymorphism and compile
time poly morphism and about virtual function.
Answer Posted / sangita pradhan
Compile time polymorphism(Static polymorphism) means
basically those language structure which will cause the
compiler to produce code at the compile-time. That is, the
compiler is well aware that what code is to be generated at
the compile-time itself: Ex: overloading of operators,
functions.
Run time Polymorphism(Dynamic Polymorphism)means that the
compiler is unaware what code is to be generated so it binds
the possible code and let the program decide it at the
run-time itself.Ex: the virtualness of a class member or the
entire class itself.
| Is This Answer Correct ? | 79 Yes | 7 No |
Post New Answer View All Answers
What do you know about different sorting algorithms?
Which data structure is used in arraylist?
Is hashmap a data structure?
State the difference between queues and linked lists?
What is example of data?
What is a weighted graph?
Define binary tree insertion.
Which is better bubble sort or selection sort?
Is red black tree balanced?
What are the disadvantages of using collection classes over arrays?
How many types of searching are there in data structure?
What is a data structure? What are the types of data structures?
What does the term sorting refer to?
write a program to accept name & sort them?
What are the goals of data structure?